smartdigitalnetworks commited on
Commit
dc35b95
·
verified ·
1 Parent(s): 5bf0c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -667,17 +667,18 @@ with gr.Blocks(css="footer {display:none !important}") as demo:
667
 
668
  with gr.Row():
669
  with gr.Column():
670
- user_files = MediaGallery(
671
- file_types=allowed_medias,
672
- label="Media Assets",
673
- columns=3,
674
- interactive=True,
675
- )
676
- user_prompt = gr.Textbox(
677
  placeholder="eg: Remove the 3 first seconds of the video",
678
  label="Guidance",
679
  lines=3,
680
  )
 
 
 
 
 
 
 
681
  btn = gr.Button("Generate Edits")
682
  with gr.Accordion("Models", open=True):
683
  model_choice = gr.Radio(
@@ -781,4 +782,4 @@ mcp_interface.queue(default_concurrency_limit=20)
781
 
782
  # Launch main demo
783
  demo.queue(default_concurrency_limit=20)
784
- demo.launch(show_api=False, ssr_mode=False, mcp_server=False, allowed_paths=["./mediagallery","./examples"])
 
667
 
668
  with gr.Row():
669
  with gr.Column():
670
+ user_prompt = gr.Textbox(
 
 
 
 
 
 
671
  placeholder="eg: Remove the 3 first seconds of the video",
672
  label="Guidance",
673
  lines=3,
674
  )
675
+ user_files = MediaGallery(
676
+ file_types=allowed_medias,
677
+ label="Media Assets",
678
+ columns=3,
679
+ interactive=False,
680
+ )
681
+
682
  btn = gr.Button("Generate Edits")
683
  with gr.Accordion("Models", open=True):
684
  model_choice = gr.Radio(
 
782
 
783
  # Launch main demo
784
  demo.queue(default_concurrency_limit=20)
785
+ demo.launch(show_api=False, ssr_mode=False, mcp_server=False)