Chenzhou commited on
Commit
dc46bb2
1 Parent(s): 03e67cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def infer(input_dataframe):
71
  status = "Total congestion on E4"
72
  return pd.DataFrame({'Freeflow Level':[res], 'Status': [status]})
73
 
74
- title = "Stoclholm Highway E4 Real Time Traffic Prediction"
75
  description = "Stockholm E4 (59°23'44.7"" N 17°59'00.4""E) highway real time traffic prediction"
76
 
77
  # inputs = [gr.Dataframe(row_count = (1, "fixed"), col_count=(7,"fixed"),
@@ -83,6 +83,7 @@ description = "Stockholm E4 (59°23'44.7"" N 17°59'00.4""E) highway real time t
83
 
84
  with gr.Blocks() as demo:
85
  with gr.Row():
 
86
  with gr.Column():
87
  inputs = gr.Dataframe(row_count = (1, "fixed"), col_count=(7,"fixed"),
88
  headers=["referenceTime", "t", "ws", "prec1h", "fesn1h", "vis", "confidence"],
 
71
  status = "Total congestion on E4"
72
  return pd.DataFrame({'Freeflow Level':[res], 'Status': [status]})
73
 
74
+ title = "Stockholm Highway E4 Real Time Traffic Prediction"
75
  description = "Stockholm E4 (59°23'44.7"" N 17°59'00.4""E) highway real time traffic prediction"
76
 
77
  # inputs = [gr.Dataframe(row_count = (1, "fixed"), col_count=(7,"fixed"),
 
83
 
84
  with gr.Blocks() as demo:
85
  with gr.Row():
86
+ gr.Interface(title= title, description=description)
87
  with gr.Column():
88
  inputs = gr.Dataframe(row_count = (1, "fixed"), col_count=(7,"fixed"),
89
  headers=["referenceTime", "t", "ws", "prec1h", "fesn1h", "vis", "confidence"],