noumanjavaid commited on
Commit
9306cd3
·
verified ·
1 Parent(s): 8d533d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -45,9 +45,6 @@ img {
45
  a = os.path.join(os.path.dirname(__file__), "files/barkley_balloon.mp4")
46
  b = os.path.join(os.path.dirname(__file__), "files/eiffel_tower.mp4")
47
  w1 = os.path.join(os.path.dirname(__file__), "files/AI_generated.png")
48
- w2 = os.path.join(os.path.dirname(__file__), "files/hf-logo.png")
49
- w3 = os.path.join(os.path.dirname(__file__), "files/forest_qr_watermarking.png")
50
- w4 = os.path.join(os.path.dirname(__file__), "files/cheetah1.jpg")
51
 
52
  def generate_video(original_video, watermark):
53
  return gr.Video(original_video, watermark=watermark)
@@ -55,7 +52,7 @@ def generate_video(original_video, watermark):
55
  # Use RGBA image mode to preserve transparency for png images.
56
  with gr.Blocks(css=css) as demo:
57
  with gr.Row():
58
- with gr.Column():
59
  gr.Markdown("# Centurion Watermarking")
60
  gr.Markdown("Watermarks can be **visible** or **invisible**.")
61
  gr.Markdown("""They can provide information directly, or provide a link for more information.
 
45
  a = os.path.join(os.path.dirname(__file__), "files/barkley_balloon.mp4")
46
  b = os.path.join(os.path.dirname(__file__), "files/eiffel_tower.mp4")
47
  w1 = os.path.join(os.path.dirname(__file__), "files/AI_generated.png")
 
 
 
48
 
49
  def generate_video(original_video, watermark):
50
  return gr.Video(original_video, watermark=watermark)
 
52
  # Use RGBA image mode to preserve transparency for png images.
53
  with gr.Blocks(css=css) as demo:
54
  with gr.Row():
55
+ with gr.Column():
56
  gr.Markdown("# Centurion Watermarking")
57
  gr.Markdown("Watermarks can be **visible** or **invisible**.")
58
  gr.Markdown("""They can provide information directly, or provide a link for more information.