Chenzhou commited on
Commit
746a1db
·
1 Parent(s): 7f6e3c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -79,12 +79,15 @@ with gr.Blocks() as demo:
79
  label="Input Data", interactive=1)
80
  with gr.Column():
81
  gr.Dataframe(row_count = (1, "fixed"), col_count=(1, "fixed"), label="Predictions", headers=["Congestion Level"])
 
82
  demo.load(get_row, every=10)
83
 
84
  with gr.Row():
85
  btn_sub = gr.Button(value="Submit")
86
 
87
  btn_sub.click(infer, inputs = inputs, outputs = outputs)
 
 
88
 
89
 
90
 
 
79
  label="Input Data", interactive=1)
80
  with gr.Column():
81
  gr.Dataframe(row_count = (1, "fixed"), col_count=(1, "fixed"), label="Predictions", headers=["Congestion Level"])
82
+
83
  demo.load(get_row, every=10)
84
 
85
  with gr.Row():
86
  btn_sub = gr.Button(value="Submit")
87
 
88
  btn_sub.click(infer, inputs = inputs, outputs = outputs)
89
+
90
+ examples = gr.Examples(examples=["1","2","3"],inputs=inputs)
91
 
92
 
93