Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,11 +30,8 @@ with gr.Blocks(css="styles.css") as app:
|
|
30 |
).click(
|
31 |
display_card,
|
32 |
inputs=[gr.Textbox(value=food_name, visible=False)],
|
33 |
-
outputs=popup_area # Reference the Gradio component
|
34 |
)
|
35 |
|
36 |
-
# Add the popup area to the app
|
37 |
-
popup_area.render()
|
38 |
-
|
39 |
# Launch the app
|
40 |
app.launch()
|
|
|
30 |
).click(
|
31 |
display_card,
|
32 |
inputs=[gr.Textbox(value=food_name, visible=False)],
|
33 |
+
outputs=popup_area # Reference the Gradio component
|
34 |
)
|
35 |
|
|
|
|
|
|
|
36 |
# Launch the app
|
37 |
app.launch()
|