Spaces:
Sleeping
Sleeping
Update ui.py
Browse files
ui.py
CHANGED
|
@@ -276,7 +276,8 @@ def create_ui(prediction_handler, chatbot_handler):
|
|
| 276 |
predict_btn.click(
|
| 277 |
fn=prediction_handler,
|
| 278 |
inputs=[station_id_input, input_csv],
|
| 279 |
-
outputs=[output_plot, output_df, output_log]
|
|
|
|
| 280 |
)
|
| 281 |
|
| 282 |
return demo
|
|
|
|
| 276 |
predict_btn.click(
|
| 277 |
fn=prediction_handler,
|
| 278 |
inputs=[station_id_input, input_csv],
|
| 279 |
+
outputs=[output_plot, output_df, output_log],
|
| 280 |
+
api_name="predict"
|
| 281 |
)
|
| 282 |
|
| 283 |
return demo
|