dj86 commited on
Commit
32038d4
1 Parent(s): 54f3c48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -289,6 +289,13 @@ with gr.Blocks(css=css) as demo:
289
  Powered by CLIP, BLIP2, GRIT, RAM++, PaddleOCR, Whisper, Custom LLMs and LangChain""",
290
  elem_id="header")
291
 
 
 
 
 
 
 
 
292
  with gr.Row():
293
  with gr.Column():
294
  video_inp = gr.Video(label="video_input")
@@ -318,14 +325,6 @@ with gr.Blocks(css=css) as demo:
318
  vlog_outp = gr.Textbox(label="Document output", lines=60)
319
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
320
 
321
- gr.Markdown("请点击下方视频(任意选择一个视频进行播放)", elem_id="hint")
322
- examples = gr.Examples(
323
- examples=[
324
- ["BV11H4y1F7uH.mp4"],
325
- ],
326
- inputs=[video_inp],
327
- )
328
-
329
  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>''')
330
 
331
  btn_submit.click(submit_message, [input_message, state], [input_message, chatbot])
 
289
  Powered by CLIP, BLIP2, GRIT, RAM++, PaddleOCR, Whisper, Custom LLMs and LangChain""",
290
  elem_id="header")
291
 
292
+ gr.Markdown("请点击下方视频(任意选择一个视频进行播放)", elem_id="hint")
293
+ examples = gr.Examples(
294
+ examples=[
295
+ ["BV11H4y1F7uH.mp4"],
296
+ ],
297
+ inputs=[video_inp],
298
+ )
299
  with gr.Row():
300
  with gr.Column():
301
  video_inp = gr.Video(label="video_input")
 
325
  vlog_outp = gr.Textbox(label="Document output", lines=60)
326
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
327
 
 
 
 
 
 
 
 
 
328
  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>''')
329
 
330
  btn_submit.click(submit_message, [input_message, state], [input_message, chatbot])