jhj0517 commited on
Commit
378fe9e
1 Parent(s): 768f6bf

edit tab name

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,7 +31,7 @@ class App:
31
  with gr.Blocks() as demo:
32
  md_header = self.header()
33
  with gr.Tabs():
34
- with gr.TabItem('Step1: Pose Alignment'):
35
  with gr.Row():
36
  with gr.Column(scale=3):
37
  img_pose_input = gr.Image(label="Input Image", type="filepath", scale=5)
@@ -65,7 +65,7 @@ class App:
65
  nb_align_frame, nb_max_frame],
66
  outputs=[vid_dance_output, vid_dance_output_demo])
67
 
68
- with gr.TabItem('Step2: MusePose Inference'):
69
  with gr.Row():
70
  with gr.Column(scale=3):
71
  img_musepose_input = gr.Image(label="Input Image", type="filepath", scale=5)
@@ -118,7 +118,7 @@ class App:
118
  <p style="font-size: 18px;">
119
  <strong>Note</strong>: This space only allows video input up to <strong>3 seconds</strong> because ZeroGPU limits the function runtime to 2 minutes. <br>
120
  If you want longer video inputs, you have to run it locally. Click the link above and follow the README to try it locally.<br><br>
121
- When you have completed the <strong>Step1: Pose Alignment</strong> process, go to <strong>Step2: MusePose Inference</strong> and click the "GENERATE" button.
122
  </p>
123
  """
124
  )
 
31
  with gr.Blocks() as demo:
32
  md_header = self.header()
33
  with gr.Tabs():
34
+ with gr.TabItem('1: Pose Alignment'):
35
  with gr.Row():
36
  with gr.Column(scale=3):
37
  img_pose_input = gr.Image(label="Input Image", type="filepath", scale=5)
 
65
  nb_align_frame, nb_max_frame],
66
  outputs=[vid_dance_output, vid_dance_output_demo])
67
 
68
+ with gr.TabItem('2: MusePose Inference'):
69
  with gr.Row():
70
  with gr.Column(scale=3):
71
  img_musepose_input = gr.Image(label="Input Image", type="filepath", scale=5)
 
118
  <p style="font-size: 18px;">
119
  <strong>Note</strong>: This space only allows video input up to <strong>3 seconds</strong> because ZeroGPU limits the function runtime to 2 minutes. <br>
120
  If you want longer video inputs, you have to run it locally. Click the link above and follow the README to try it locally.<br><br>
121
+ When you have completed the <strong>1: Pose Alignment</strong> process, go to <strong>2: MusePose Inference</strong> and click the "GENERATE" button.
122
  </p>
123
  """
124
  )