dj86 commited on
Commit
c5b174f
1 Parent(s): af45878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -291,7 +291,7 @@ with gr.Blocks(css=css) as demo:
291
 
292
  with gr.Row():
293
  with gr.Column():
294
- video_inp = gr.Video(label="video_input", value="./BV11H4y1F7uH.mp4")
295
 
296
  gr.Markdown("请在下方输入需要播放的视频完整网址, *e.g.* *B站地址*", elem_id="hint")
297
  with gr.Row():
@@ -314,13 +314,13 @@ with gr.Blocks(css=css) as demo:
314
  vlog_outp = gr.Textbox(label="Document output", lines=60)
315
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
316
 
317
- #gr.Markdown("请点击下方视频(任意选择一个视频进行播放)", elem_id="hint")
318
- #examples = gr.Examples(
319
- # examples=[
320
- # ["./BV11H4y1F7uH.mp4"],
321
- # ],
322
- # inputs=[video_inp],
323
- #)
324
 
325
  gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/anzorq/chatgpt-demo?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br></center>''')
326
 
 
291
 
292
  with gr.Row():
293
  with gr.Column():
294
+ video_inp = gr.Video(label="video_input")
295
 
296
  gr.Markdown("请在下方输入需要播放的视频完整网址, *e.g.* *B站地址*", elem_id="hint")
297
  with gr.Row():
 
314
  vlog_outp = gr.Textbox(label="Document output", lines=60)
315
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
316
 
317
+ gr.Markdown("请点击下方视频(任意选择一个视频进行播放)", elem_id="hint")
318
+ examples = gr.Examples(
319
+ examples=[
320
+ ["./BV11H4y1F7uH.mp4"],
321
+ ],
322
+ inputs=[video_inp],
323
+ )
324
 
325
  gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/anzorq/chatgpt-demo?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br></center>''')
326