AnsenH commited on
Commit
9b0b991
·
1 Parent(s): 02ac3f6
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,7 +52,7 @@ with gr.Blocks() as demo:
52
  visible=False
53
  )
54
 
55
- def update_visability(radio_value):
56
  return {
57
  watermark_image:
58
  {
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
72
  }
73
 
74
  with gr.Column():
75
- gr.Markdown("### Appied watermark image")
76
  output_image = gr.Image(show_label=False)
77
  with gr.Row():
78
  apply_button =gr.Button("Apply")
@@ -88,7 +88,7 @@ with gr.Blocks() as demo:
88
  extract_button = gr.Button("Extract")
89
 
90
  radio_button.change(
91
- fn=update_visability,
92
  inputs=radio_button,
93
  outputs=[watermark_image, watermark_text, watermark_url]
94
  )
 
52
  visible=False
53
  )
54
 
55
+ def update_visibility(radio_value):
56
  return {
57
  watermark_image:
58
  {
 
72
  }
73
 
74
  with gr.Column():
75
+ gr.Markdown("### Applied watermark image")
76
  output_image = gr.Image(show_label=False)
77
  with gr.Row():
78
  apply_button =gr.Button("Apply")
 
88
  extract_button = gr.Button("Extract")
89
 
90
  radio_button.change(
91
+ fn=update_visibility,
92
  inputs=radio_button,
93
  outputs=[watermark_image, watermark_text, watermark_url]
94
  )