SPACERUNNER99 commited on
Commit
cc72f06
·
verified ·
1 Parent(s): 736d327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -67,13 +67,12 @@ with gr.Blocks() as demo:
67
  with gr.Column():
68
  progress_output = gr.Textbox(label="Progress", visible=False)
69
  video_file_input = gr.Text(label="Video URL")
70
- clip_type = gr.Dropdown(["dub", "sub"], label="Clip Type")
71
  parameters = gr.Text(label="Additional Parameters (for subtitles: color,font)")
72
  btn = gr.Button("Create")
73
  video_file_output = gr.Video(label="Result Video")
74
  btn.click(
75
  fn=main,
76
- inputs=[video_file_input, clip_type, parameters],
77
  outputs=[progress_output, video_file_output],
78
  concurrency_limit=4,
79
  )
 
67
  with gr.Column():
68
  progress_output = gr.Textbox(label="Progress", visible=False)
69
  video_file_input = gr.Text(label="Video URL")
 
70
  parameters = gr.Text(label="Additional Parameters (for subtitles: color,font)")
71
  btn = gr.Button("Create")
72
  video_file_output = gr.Video(label="Result Video")
73
  btn.click(
74
  fn=main,
75
+ inputs=[video_file_input, parameters],
76
  outputs=[progress_output, video_file_output],
77
  concurrency_limit=4,
78
  )