Piarasingh85 commited on
Commit
751ce7d
·
verified ·
1 Parent(s): 26aa229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -130,10 +130,10 @@ def detect_and_classify_pose(input_image, complexity, confidence, background_col
130
  iface = gr.Interface(
131
  fn=detect_and_classify_pose,
132
  inputs=[
133
- gr.inputs.Image(type="numpy", label="Upload an Image"),
134
- gr.inputs.Slider(minimum=0, maximum=2, default=1, label="Model Complexity"),
135
- gr.inputs.Slider(minimum=0.1, maximum=1.0, default=0.5, label="Detection Confidence"),
136
- gr.inputs.Radio(choices=['White', 'Green', 'Black'], default='White', label="Background Color")
137
  ],
138
  outputs=["image", "text"],
139
  title="Live Yoga Pose Detection and Classification",
 
130
  iface = gr.Interface(
131
  fn=detect_and_classify_pose,
132
  inputs=[
133
+ gr.Image(type="numpy", label="Upload an Image"),
134
+ gr.Slider(minimum=0, maximum=2, value=1, label="Model Complexity"),
135
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.5, label="Detection Confidence"),
136
+ gr.Radio(choices=['White', 'Green', 'Black'], value='White', label="Background Color")
137
  ],
138
  outputs=["image", "text"],
139
  title="Live Yoga Pose Detection and Classification",