MyoLab-infra commited on
Commit
7b05fce
·
1 Parent(s): 4d5ee9e

fix defaults

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -495,6 +495,9 @@ with gr.Blocks() as app:
495
  # label=None,
496
  file_types=[".xml"],
497
  elem_id="file-upload-markerset",
 
 
 
498
  )
499
 
500
  with gr.Column(scale=2):
@@ -514,6 +517,7 @@ with gr.Blocks() as app:
514
  file_types=[".c3d"],
515
  elem_id="file-upload-c3d",
516
  file_count="multiple",
 
517
  )
518
 
519
  run_btn_c3d = gr.Button("3. 🚀 Run Retargeting", variant="primary")
 
495
  # label=None,
496
  file_types=[".xml"],
497
  elem_id="file-upload-markerset",
498
+ value=os.path.join(
499
+ os.path.dirname(__file__), "./markersets/cmu_markerset.xml"
500
+ ),
501
  )
502
 
503
  with gr.Column(scale=2):
 
517
  file_types=[".c3d"],
518
  elem_id="file-upload-c3d",
519
  file_count="multiple",
520
+ value=[os.path.join(os.path.dirname(__file__), "./data/35_30.c3d")],
521
  )
522
 
523
  run_btn_c3d = gr.Button("3. 🚀 Run Retargeting", variant="primary")