SathvikGanta commited on
Commit
2143820
·
verified ·
1 Parent(s): c6970ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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, not a string
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()