Osole7 commited on
Commit
ee0a25f
·
verified ·
1 Parent(s): 470f9f6

demo.load( fn=analyze_restaurant, inputs=[restaurant_input], outputs=[overview_output, insight_output, revenue_plot], ) demo.launch()

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -209,4 +209,10 @@ with gr.Blocks() as demo:
209
  outputs=[overview_output, insight_output, revenue_plot],
210
  )
211
 
212
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
 
 
 
 
 
 
209
  outputs=[overview_output, insight_output, revenue_plot],
210
  )
211
 
212
+ demo.load(
213
+ fn=analyze_restaurant,
214
+ inputs=[restaurant_input],
215
+ outputs=[overview_output, insight_output, revenue_plot],
216
+ )
217
+
218
+ demo.launch()