Spaces:
Runtime error
Runtime error
Commit
·
0ab6f3c
1
Parent(s):
0a5ef4b
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks() as demo:
|
|
31 |
target = gr.Textbox(placeholder="What is your name?")
|
32 |
out = gr.Textbox()
|
33 |
btn = gr.Button("Run")
|
34 |
-
btn.click(fn=search_engine_bot
|
35 |
|
36 |
demo.launch()
|
37 |
|
|
|
31 |
target = gr.Textbox(placeholder="What is your name?")
|
32 |
out = gr.Textbox()
|
33 |
btn = gr.Button("Run")
|
34 |
+
btn.click(fn=search_engine_bot, inputs=target, outputs=out)
|
35 |
|
36 |
demo.launch()
|
37 |
|