Ahsen Khaliq commited on
Commit
b7f512e
·
1 Parent(s): fbf5a93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -25,11 +25,11 @@ def inference(video):
25
  return 'com.mp4',"pha.mp4","fgr.mp4"
26
 
27
  title = "Robust Video Matting"
28
- description = "Gradio demo for Robust Video Matting. To use it, simply upload your video, or click one of the examples to load them. Read more at the links below."
29
 
30
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.11515'>Robust High-Resolution Video Matting with Temporal Guidance</a> | <a href='https://github.com/PeterL1n/RobustVideoMatting'>Github Repo</a></p>"
31
 
32
- examples = [['pexels-darina-belonogova-7539228.mp4']]
33
  gr.Interface(
34
  inference,
35
  gr.inputs.Video(label="Input"),
@@ -37,6 +37,4 @@ gr.Interface(
37
  title=title,
38
  description=description,
39
  article=article,
40
- enable_queue=True,
41
- examples=examples
42
- ).launch(debug=True)
 
25
  return 'com.mp4',"pha.mp4","fgr.mp4"
26
 
27
  title = "Robust Video Matting"
28
+ description = "Gradio demo for Robust Video Matting. To use it, simply upload your video, currently only mp4 and ogg formats are supported. Read more at the links below."
29
 
30
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.11515'>Robust High-Resolution Video Matting with Temporal Guidance</a> | <a href='https://github.com/PeterL1n/RobustVideoMatting'>Github Repo</a></p>"
31
 
32
+
33
  gr.Interface(
34
  inference,
35
  gr.inputs.Video(label="Input"),
 
37
  title=title,
38
  description=description,
39
  article=article,
40
+ enable_queue=True).launch(debug=True)