Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -723,7 +723,7 @@ with gr.Blocks(title="Body Measurements Predictor") as demo:
|
|
| 723 |
predictions = format_pants_brand_predictions(
|
| 724 |
json.loads(predict_pants_sizes(waist, leg_length, hips))
|
| 725 |
)
|
| 726 |
-
return predictions, gr.update(visible=True)
|
| 727 |
|
| 728 |
pants_brand_predict_button.click(
|
| 729 |
fn=update_model_visibility,
|
|
|
|
| 723 |
predictions = format_pants_brand_predictions(
|
| 724 |
json.loads(predict_pants_sizes(waist, leg_length, hips))
|
| 725 |
)
|
| 726 |
+
return predictions, gr.update(visible=True) # Fixed syntax error here
|
| 727 |
|
| 728 |
pants_brand_predict_button.click(
|
| 729 |
fn=update_model_visibility,
|