Spaces:
Build error
Build error
ahmedghani
commited on
Commit
β’
1a1bdb2
1
Parent(s):
debbfad
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from video_watermark_remover import *
|
3 |
-
from
|
4 |
-
from
|
5 |
from image_watermark_remover import *
|
6 |
|
7 |
css = """
|
@@ -30,9 +30,9 @@ css = """
|
|
30 |
|
31 |
demo = gr.Blocks(css=css, title="Video Watermark Remover")
|
32 |
with demo:
|
33 |
-
with gr.Tab("Image
|
34 |
gr.Markdown("""
|
35 |
-
# <center>πΌοΈ Image
|
36 |
""")
|
37 |
image_format = ['jpg', 'jpeg', 'png', 'bmp', 'tiff', 'gif', 'webp', 'ico', 'heic', 'heiv', 'heif']
|
38 |
with gr.Row():
|
@@ -60,9 +60,9 @@ with demo:
|
|
60 |
|
61 |
image_remove_btn.click(remove_image_watermark, inputs=[input_image_watermark], outputs=[output_image_clean])
|
62 |
|
63 |
-
with gr.Tab("Video
|
64 |
gr.Markdown("""
|
65 |
-
# <center>π₯ Video
|
66 |
""")
|
67 |
video_format = ['webm', 'wmv', 'mkv', 'mp4', 'avi', 'mpeg', 'vob', 'flv']
|
68 |
audio_format = ['mp3', 'wav', 'ogg', 'flac', 'aac']
|
|
|
1 |
import gradio as gr
|
2 |
from video_watermark_remover import *
|
3 |
+
from video_converter import *
|
4 |
+
from image_converter import *
|
5 |
from image_watermark_remover import *
|
6 |
|
7 |
css = """
|
|
|
30 |
|
31 |
demo = gr.Blocks(css=css, title="Video Watermark Remover")
|
32 |
with demo:
|
33 |
+
with gr.Tab("Image Converter"):
|
34 |
gr.Markdown("""
|
35 |
+
# <center>πΌοΈ Image Converter</center>
|
36 |
""")
|
37 |
image_format = ['jpg', 'jpeg', 'png', 'bmp', 'tiff', 'gif', 'webp', 'ico', 'heic', 'heiv', 'heif']
|
38 |
with gr.Row():
|
|
|
60 |
|
61 |
image_remove_btn.click(remove_image_watermark, inputs=[input_image_watermark], outputs=[output_image_clean])
|
62 |
|
63 |
+
with gr.Tab("Video Converter"):
|
64 |
gr.Markdown("""
|
65 |
+
# <center>π₯ Video Converter</center>
|
66 |
""")
|
67 |
video_format = ['webm', 'wmv', 'mkv', 'mp4', 'avi', 'mpeg', 'vob', 'flv']
|
68 |
audio_format = ['mp3', 'wav', 'ogg', 'flac', 'aac']
|