Harisreedhar commited on
Commit
85ce599
β€’
1 Parent(s): 1d97d53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -632,8 +632,8 @@ with gr.Blocks(css=css) as interface:
632
  )
633
 
634
  with gr.Box(visible=True) as input_video_group:
635
- vid_widget = gr.Video if USE_COLAB else gr.Text
636
- video_input = vid_widget(
637
  label="Target Video Path", interactive=True
638
  )
639
  with gr.Accordion("βœ‚οΈ Trim video", open=False):
@@ -819,6 +819,6 @@ with gr.Blocks(css=css) as interface:
819
 
820
  if __name__ == "__main__":
821
  if USE_COLAB:
822
- print("Running in colab mode.")
823
 
824
  interface.queue(concurrency_count=2, max_size=20).launch(share=USE_COLAB)
 
632
  )
633
 
634
  with gr.Box(visible=True) as input_video_group:
635
+ # vid_widget = gr.Video if USE_COLAB else gr.Text
636
+ video_input = gr.Video(
637
  label="Target Video Path", interactive=True
638
  )
639
  with gr.Accordion("βœ‚οΈ Trim video", open=False):
 
819
 
820
  if __name__ == "__main__":
821
  if USE_COLAB:
822
+ print("Running in colab mode")
823
 
824
  interface.queue(concurrency_count=2, max_size=20).launch(share=USE_COLAB)