Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -278,12 +278,16 @@ blur_types = ["strong_gaussian", "median"]
|
|
278 |
demo = gr.Interface(
|
279 |
fn=gradio_interface,
|
280 |
inputs=[
|
281 |
-
gr.
|
282 |
gr.Dropdown(choices=blur_types, label="Blur Type", value="strong_gaussian") # Default to median
|
283 |
],
|
284 |
outputs=[gr.File(label="Download Video"),gr.Video(label="Play Video")],
|
285 |
-
title="
|
286 |
-
description="Upload a video, and this tool will
|
|
|
|
|
|
|
|
|
287 |
)
|
288 |
|
289 |
# demo.launch()
|
@@ -294,4 +298,4 @@ demo = gr.Interface(
|
|
294 |
def main(debug, share):
|
295 |
demo.queue().launch(debug=debug, share=share)
|
296 |
if __name__ == "__main__":
|
297 |
-
main()
|
|
|
278 |
demo = gr.Interface(
|
279 |
fn=gradio_interface,
|
280 |
inputs=[
|
281 |
+
gr.Video(label="Upload Video"),
|
282 |
gr.Dropdown(choices=blur_types, label="Blur Type", value="strong_gaussian") # Default to median
|
283 |
],
|
284 |
outputs=[gr.File(label="Download Video"),gr.Video(label="Play Video")],
|
285 |
+
title="Remove Watermark Text from Video",
|
286 |
+
description="Upload a video, and this tool will blur texts",
|
287 |
+
examples=[
|
288 |
+
["./examples/chinese.mp4"],
|
289 |
+
["./examples/english.mp4"]
|
290 |
+
]
|
291 |
)
|
292 |
|
293 |
# demo.launch()
|
|
|
298 |
def main(debug, share):
|
299 |
demo.queue().launch(debug=debug, share=share)
|
300 |
if __name__ == "__main__":
|
301 |
+
main()
|