Arcader7171 commited on
Commit
33dd083
·
1 Parent(s): 5434231

Debug app.py

Browse files

changed outputs=txt to outputs=[txt]

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def sentences():
7
  with gr.Blocks() as pos:
8
  txt = gr.Textbox(value="", label="Textbox")
9
  btn = gr.Button(value="Free Inspirational Quotes")
10
- btn.click(sentences, outputs=txt)
11
 
12
 
13
  pos.launch()
 
7
  with gr.Blocks() as pos:
8
  txt = gr.Textbox(value="", label="Textbox")
9
  btn = gr.Button(value="Free Inspirational Quotes")
10
+ btn.click(sentences, outputs=[txt])
11
 
12
 
13
  pos.launch()