ahmedghani commited on
Commit
1a1bdb2
β€’
1 Parent(s): debbfad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from video_watermark_remover import *
3
- from video_convertor import *
4
- from image_convertor import *
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 Convertor"):
34
  gr.Markdown("""
35
- # <center>πŸ–ΌοΈ Image Convertor</center>
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 Convertor"):
64
  gr.Markdown("""
65
- # <center>πŸŽ₯ Video Convertor</center>
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']