RohanVashisht commited on
Commit
c5a491c
·
verified ·
1 Parent(s): 213bbda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,