mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Add text mode (#321)
* Pretty good spot * Working draft * Fix other mode * Add js to git * Working * Add code * fix * Fix * Add code * Fix submit race condition * demo * fix * Fix * Fix
This commit is contained in:
16
backend/fastrtc/templates/component/init-DjUOC4st.js
Normal file
16
backend/fastrtc/templates/component/init-DjUOC4st.js
Normal file
@@ -0,0 +1,16 @@
|
||||
function t(e, a) {
|
||||
switch (arguments.length) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
this.range(e);
|
||||
break;
|
||||
default:
|
||||
this.range(a).domain(e);
|
||||
break;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
export {
|
||||
t as i
|
||||
};
|
||||
Reference in New Issue
Block a user