lucas-ventura commited on
Commit
1abd69d
·
verified ·
1 Parent(s): d5c54d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -304,9 +304,8 @@ cd chapter-llama
304
  python -m pip install -e ".[demo]"
305
 
306
  # Launch the demo
307
- python demo.py
308
- </pre>
309
- <p style="font-size: 1.1em; color: #555; margin-bottom: 10px;">Chapter-Llama is an efficient solution for generating chapters in hour-long videos. We appreciate your feedback and contributions to improve this tool. If you find any issues, please report them on our <a href="https://github.com/lucas-ventura/chapter-llama/issues" style="color: #8F68C3; text-decoration: none;">GitHub repository</a>.</p>
310
  </div>
311
  """
312
 
@@ -333,7 +332,6 @@ with gr.Blocks(title="Chapter-Llama", head=head) as demo:
333
  chapter generation by incorporating visual content.
334
  """
335
  )
336
- gr.HTML(note_html)
337
 
338
  with gr.Row():
339
  with gr.Column():
@@ -366,6 +364,7 @@ with gr.Blocks(title="Chapter-Llama", head=head) as demo:
366
  label="Generated Chapters", lines=12, interactive=False
367
  )
368
 
 
369
  def update_status_and_process(video_file, video_url, model_name, do_sample):
370
  if video_file is None and not video_url:
371
  return (
@@ -387,6 +386,7 @@ with gr.Blocks(title="Chapter-Llama", head=head) as demo:
387
  )
388
 
389
  gr.Markdown(bibtext)
 
390
 
391
 
392
  if __name__ == "__main__":
 
304
  python -m pip install -e ".[demo]"
305
 
306
  # Launch the demo
307
+ python demo.py</pre>
308
+ <p style="font-size: 1.1em; color: #555; margin-bottom: 10px;">If you find any issues, please report them on our <a href="https://github.com/lucas-ventura/chapter-llama/issues" style="color: #8F68C3; text-decoration: none;">GitHub repository</a>.</p>
 
309
  </div>
310
  """
311
 
 
332
  chapter generation by incorporating visual content.
333
  """
334
  )
 
335
 
336
  with gr.Row():
337
  with gr.Column():
 
364
  label="Generated Chapters", lines=12, interactive=False
365
  )
366
 
367
+
368
  def update_status_and_process(video_file, video_url, model_name, do_sample):
369
  if video_file is None and not video_url:
370
  return (
 
386
  )
387
 
388
  gr.Markdown(bibtext)
389
+ gr.HTML(note_html)
390
 
391
 
392
  if __name__ == "__main__":