GilbertClaus commited on
Commit
7ad4170
·
1 Parent(s): c7bd87f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,10 +4,10 @@ from youtube import cut_video
4
  iface = gr.Interface(
5
  fn=cut_video,
6
  inputs=[
7
- gr.inputs.Textbox(lines=1, label="Link Video"),
8
- gr.inputs.Textbox(lines=1, label="Resolusi"),
9
- gr.inputs.Textbox(lines=1, label="Start Time (HH:MM:SS.MS)"),
10
- gr.inputs.Textbox(lines=1, label="End Time (HH:MM:SS.MS)"),
11
  ],
12
  outputs=[
13
  gr.outputs.Textbox(label="Video Information"),
 
4
  iface = gr.Interface(
5
  fn=cut_video,
6
  inputs=[
7
+ gr.inputs.Textbox(lines=1, label="Link Video", 'https://www.youtube.com/watch?v=example'),
8
+ gr.inputs.Textbox(lines=1, label="Resolusi", 720),
9
+ gr.inputs.Textbox(lines=1, label="Start Time (HH:MM:SS.MS)", '00:00:00.000'),
10
+ gr.inputs.Textbox(lines=1, label="End Time (HH:MM:SS.MS)", '00:01:00.000'),
11
  ],
12
  outputs=[
13
  gr.outputs.Textbox(label="Video Information"),