Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ textbox=gr.Textbox()
|
|
| 100 |
with gr.Interface(fn=greet, inputs=input, outputs=textbox,head=head) as demo: #submit_btn=submit
|
| 101 |
input.submit(None,[],[],js="function(){console.log('submit');window.reset_tts_text()}")
|
| 102 |
textbox.change(None,[textbox],[],js="""function(text){
|
| 103 |
-
window.update_tts_texts(text,"./
|
| 104 |
}""")
|
| 105 |
#submit click not catch.
|
| 106 |
#print(demo.inputs)
|
|
|
|
| 100 |
with gr.Interface(fn=greet, inputs=input, outputs=textbox,head=head) as demo: #submit_btn=submit
|
| 101 |
input.submit(None,[],[],js="function(){console.log('submit');window.reset_tts_text()}")
|
| 102 |
textbox.change(None,[textbox],[],js="""function(text){
|
| 103 |
+
window.update_tts_texts(text,"./ljspeech_sim.onnx")
|
| 104 |
}""")
|
| 105 |
#submit click not catch.
|
| 106 |
#print(demo.inputs)
|