micrem73 commited on
Commit
d775445
1 Parent(s): 020456b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def greet(name):
5
 
6
  subject = gr.Textbox(placeholder="subject")
7
  foo_bar_btn = gr.Button("Foo bar.")
8
- foo_bar_btn.click(None, [], subject, _js=responsiveVoice.speak("ciao"))
9
 
10
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
11
  iface.launch()
 
5
 
6
  subject = gr.Textbox(placeholder="subject")
7
  foo_bar_btn = gr.Button("Foo bar.")
8
+ foo_bar_btn.click(None, [], subject, _js="responsiveVoice.speak('ciao')")
9
 
10
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
11
  iface.launch()