Spaces:
Sleeping
Sleeping
Update app.py
Browse filesHot fix update method
app.py
CHANGED
@@ -10,6 +10,6 @@ with gr.Blocks() as meal_search:
|
|
10 |
inp = gr.Textbox(placeholder="What sort of meal are you after?")
|
11 |
out = gr.Textbox()
|
12 |
btn = gr.Button("Run")
|
13 |
-
btn.click(fn=
|
14 |
|
15 |
meal_search.launch()
|
|
|
10 |
inp = gr.Textbox(placeholder="What sort of meal are you after?")
|
11 |
out = gr.Textbox()
|
12 |
btn = gr.Button("Run")
|
13 |
+
btn.click(fn=run_query, inputs=inp, outputs=out)
|
14 |
|
15 |
meal_search.launch()
|