Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -213,12 +213,12 @@ def bar_length(data_id):
213
  return 4
214
 
215
  with gr.Blocks() as demo:
216
- gr.Markdown("###Select a Raw Motion")
217
  all_videos = get_all_videos()
218
 
219
  with gr.Row():
220
  data_id_input = gr.Dropdown(
221
- label=f"motions can be selected({len(all_videos)} in total)",
222
  choices=all_videos,
223
  multiselect=False,
224
  allow_custom_value=True,
@@ -227,9 +227,9 @@ with gr.Blocks() as demo:
227
  show_video_button = gr.Button("Select & Display Motion", scale=2)
228
  video_output = gr.Video(label="Selected Motion")
229
 
230
- change_prompt_textbox = gr.Textbox(visible=True, label="Write Your Edit Instruction Here:")
231
  inference_button = gr.Button("Start Inference")
232
- output_file = gr.Video(label="Generated Video(truncated to 6sec due to the constraint of computational resources)")
233
 
234
  show_video_button.click(
235
  fn=select_and_show,
 
213
  return 4
214
 
215
  with gr.Blocks() as demo:
216
+ gr.Markdown("### Select a Raw Motion")
217
  all_videos = get_all_videos()
218
 
219
  with gr.Row():
220
  data_id_input = gr.Dropdown(
221
+ label=f"Motions can be selected({len(all_videos)} in total)",
222
  choices=all_videos,
223
  multiselect=False,
224
  allow_custom_value=True,
 
227
  show_video_button = gr.Button("Select & Display Motion", scale=2)
228
  video_output = gr.Video(label="Selected Motion")
229
 
230
+ change_prompt_textbox = gr.Textbox(visible=True, label="Write your edit instruction here:")
231
  inference_button = gr.Button("Start Inference")
232
+ output_file = gr.Video(label="Edited Motion (truncated to 6sec due to the constraint of computational resources)")
233
 
234
  show_video_button.click(
235
  fn=select_and_show,