Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -103,13 +103,13 @@ def infer(video_in):
|
|
103 |
|
104 |
files = [final_vid]
|
105 |
|
106 |
-
return final_vid
|
107 |
|
108 |
inputs = [gr.Video(label="Input", source="upload", type="filepath")]
|
109 |
-
outputs = [gr.Video(label="output")
|
110 |
-
gr.Files(label="Download Video")]
|
111 |
title = "LaMa Video Watermark Remover"
|
112 |
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"
|
113 |
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>"
|
|
|
114 |
gr.Interface(infer, inputs, outputs, title=title,
|
115 |
description=description, article=article).launch()
|
|
|
103 |
|
104 |
files = [final_vid]
|
105 |
|
106 |
+
return final_vid
|
107 |
|
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()
|