Muhammad Taqi Raza commited on
Commit
a539923
·
1 Parent(s): c8b2b8d
Files changed (1) hide show
  1. gradio_app.py +3 -2
gradio_app.py CHANGED
@@ -196,7 +196,8 @@ with demo:
196
  neg_prompt_input = gr.Textbox(label="Negative Prompt", value="The video is not of a high quality, it has a low resolution. Watermark present in each frame. The background is solid. Strange body and strange trajectory.")
197
  refine_prompt_input = gr.Textbox(label="Refine Prompt", value=" The video is of high quality, and the view is very clear. ")
198
  with gr.Column():
199
- video_input = gr.Video(label="Upload Video (MP4)")
 
200
  step1_button = gr.Button("▶️ Run Step 1")
201
  step1_video = gr.Video(label="[Step 1] Masked Video")
202
  step1_logs = gr.Textbox(label="[Step 1] Logs")
@@ -257,4 +258,4 @@ with demo:
257
  )
258
  if __name__ == "__main__":
259
  download_models()
260
- demo.launch(server_name="0.0.0.0", server_port=7860, ssr_mode=False)
 
196
  neg_prompt_input = gr.Textbox(label="Negative Prompt", value="The video is not of a high quality, it has a low resolution. Watermark present in each frame. The background is solid. Strange body and strange trajectory.")
197
  refine_prompt_input = gr.Textbox(label="Refine Prompt", value=" The video is of high quality, and the view is very clear. ")
198
  with gr.Column():
199
+ video_input = gr.Video(label="Upload Video (MP4)", file_types=[".mp4"], format="mp4")
200
+
201
  step1_button = gr.Button("▶️ Run Step 1")
202
  step1_video = gr.Video(label="[Step 1] Masked Video")
203
  step1_logs = gr.Textbox(label="[Step 1] Logs")
 
258
  )
259
  if __name__ == "__main__":
260
  download_models()
261
+ demo.launch(server_name="0.0.0.0", server_port=7860, share=True, ssr_mode=False)