fffiloni commited on
Commit
041afc1
1 Parent(s): 1671b07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -108,8 +108,8 @@ def infer(video_in):
108
  inputs = [gr.Video(label="Input", source="upload", type="filepath")]
109
  outputs = [gr.Video(label="output")]
110
  title = "LaMa Video Watermark Remover"
111
- description = "LaMa: Resolution-robust Large Mask Inpainting with Fourier Convolutions. <br />This demo in meant to be used as a watermark remover on Modelscope generated videos. <br />Simply upload your modelscope video and hit Submit"
112
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.07161' target='_blank'>Resolution-robust Large Mask Inpainting with Fourier Convolutions</a> | <a href='https://github.com/saic-mdal/lama' target='_blank'>Github Repo</a></p>"
113
- example = ["./examples/modelscope-astronaut-horse.mp4", "./examples/modelscope-panda.mp4", "./examples/modelscope-spiderman-surfing.mp4"]
114
  gr.Interface(infer, inputs, outputs, title=title,
115
- description=description, article=article).launch()
 
108
  inputs = [gr.Video(label="Input", source="upload", type="filepath")]
109
  outputs = [gr.Video(label="output")]
110
  title = "LaMa Video Watermark Remover"
111
+ description = "<p style='text-align: center'>LaMa: Resolution-robust Large Mask Inpainting with Fourier Convolutions. <br />This demo in meant to be used as a watermark remover on Modelscope generated videos. <br />Simply upload your modelscope video and hit Submit</p>"
112
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.07161' target='_blank'>Resolution-robust Large Mask Inpainting with Fourier Convolutions</a> | <a href='https://github.com/saic-mdal/lama' target='_blank'>Github Repo</a></p>"
113
+ examples = ["./examples/modelscope-astronaut-horse.mp4", "./examples/modelscope-panda.mp4", "./examples/modelscope-spiderman-surfing.mp4"]
114
  gr.Interface(infer, inputs, outputs, title=title,
115
+ description=description, article=article, examples=examples).launch()