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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
 
6
  foo_bar_btn = gr.Button("Foo bar.")
7
  foo_bar_btn.click(None, [], subject, _js=responsiveVoice.speak("ciao"))
8
 
 
3
  def greet(name):
4
  return "Hello " + 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