Update app.py
Browse files
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 |
-
|
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()
|