Bachstelze commited on
Commit
ae31fa6
·
1 Parent(s): 6c4682c

consistent sample button name

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -253,7 +253,7 @@ def create_interface():
253
  1. Adjust the sliders to input deviation values
254
  (0 = no deviation, 1 = maximum deviation)
255
  2. Click "Submit" to get your predicted score
256
- 3. Or click "Load Random Example" to test with real data
257
 
258
  **Score Interpretation:**
259
  - 80-100%: Excellent form
@@ -268,7 +268,7 @@ def create_interface():
268
  **How to use:**
269
  1. Adjust the sliders to input deviation values (0 = no deviation, 1 = maximum deviation)
270
  2. Click "Predict Body Region" to identify where to focus improvements
271
- 3. Or click "Load Random Example" to test with real data
272
 
273
  **Body Regions:** Upper Body, Lower Body
274
  """
@@ -397,7 +397,7 @@ def create_interface():
397
  with gr.Row():
398
  class_submit_btn = gr.Button(
399
  "Predict Body Region", variant="primary")
400
- class_example_btn = gr.Button("Load Random Example")
401
  class_clear_btn = gr.Button("Clear")
402
 
403
  class_submit_btn.click(fn=predict_weakest_link, inputs=classification_inputs, outputs=[
 
253
  1. Adjust the sliders to input deviation values
254
  (0 = no deviation, 1 = maximum deviation)
255
  2. Click "Submit" to get your predicted score
256
+ 3. Or click "Load Sample" to test with real data
257
 
258
  **Score Interpretation:**
259
  - 80-100%: Excellent form
 
268
  **How to use:**
269
  1. Adjust the sliders to input deviation values (0 = no deviation, 1 = maximum deviation)
270
  2. Click "Predict Body Region" to identify where to focus improvements
271
+ 3. Or click "Load Sample" to test with real data
272
 
273
  **Body Regions:** Upper Body, Lower Body
274
  """
 
397
  with gr.Row():
398
  class_submit_btn = gr.Button(
399
  "Predict Body Region", variant="primary")
400
+ class_example_btn = gr.Button("Load Sample")
401
  class_clear_btn = gr.Button("Clear")
402
 
403
  class_submit_btn.click(fn=predict_weakest_link, inputs=classification_inputs, outputs=[