uijnbh commited on
Commit
324d5a7
·
1 Parent(s): 1c40a2e

Specify Pandas DataFrame input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ weather = get_7day_weather(api_key)
157
 
158
  iface = gr.Interface(
159
  fn=forecast_traffic,
160
- inputs=[*day_buttons, gr.DataFrame(weather)],
161
  outputs=[gr.Plot(), gr.Text()],
162
  )
163
 
 
157
 
158
  iface = gr.Interface(
159
  fn=forecast_traffic,
160
+ inputs=[*day_buttons, gr.DataFrame(value = weather, type="pandas")],
161
  outputs=[gr.Plot(), gr.Text()],
162
  )
163