Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1087,9 +1087,10 @@ def create_interface():
|
|
| 1087 |
analyze_button.click(
|
| 1088 |
fn=lambda choices, sales, supplier, text: run_analyses(state, choices, sales, supplier, text),
|
| 1089 |
inputs=[analysis_options, sales_data_upload, supplier_data_upload, text_input_area],
|
| 1090 |
-
outputs=[analysis_output, plot_output,
|
| 1091 |
)
|
| 1092 |
|
|
|
|
| 1093 |
predict_button.click(
|
| 1094 |
fn=lambda *args: predict_freight_cost(state, *args),
|
| 1095 |
inputs=[weight, line_item_value, shipment_mode],
|
|
|
|
| 1087 |
analyze_button.click(
|
| 1088 |
fn=lambda choices, sales, supplier, text: run_analyses(state, choices, sales, supplier, text),
|
| 1089 |
inputs=[analysis_options, sales_data_upload, supplier_data_upload, text_input_area],
|
| 1090 |
+
outputs=[analysis_output, plot_output, processing_status] # Updated output
|
| 1091 |
)
|
| 1092 |
|
| 1093 |
+
|
| 1094 |
predict_button.click(
|
| 1095 |
fn=lambda *args: predict_freight_cost(state, *args),
|
| 1096 |
inputs=[weight, line_item_value, shipment_mode],
|