Ziyou Li commited on
Commit
f90575b
·
1 Parent(s): f5652fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,8 +67,9 @@ inputs = [gr.Dataframe(row_count = (1, "fixed"), col_count=(7,"fixed"),
67
 
68
  outputs = [gr.Dataframe(row_count = (1, "fixed"), col_count=(1, "fixed"), label="Predictions", headers=["Congestion Level"])]
69
 
 
 
70
  btn = gr.Button(value="Refresh")
71
  btn.click(interface.launch())
72
 
73
- interface = gr.Interface(fn = infer, inputs = inputs, outputs = outputs, title=title, description=description, examples=[get_row()], cache_examples=False)
74
  interface.launch()
 
67
 
68
  outputs = [gr.Dataframe(row_count = (1, "fixed"), col_count=(1, "fixed"), label="Predictions", headers=["Congestion Level"])]
69
 
70
+ interface = gr.Interface(fn = infer, inputs = inputs, outputs = outputs, title=title, description=description, examples=[get_row()], cache_examples=False)
71
+
72
  btn = gr.Button(value="Refresh")
73
  btn.click(interface.launch())
74
 
 
75
  interface.launch()