Spaces:
Paused
Paused
johann-foerster
commited on
Commit
·
086d94f
1
Parent(s):
020971a
rely on autodetect
Browse files
webui.py
CHANGED
@@ -120,7 +120,7 @@ with shared.gradio_root:
|
|
120 |
generated_image_raw = gr.Image(visible=False, type='pil', label="Erstelle Weihnachtskarte...", width=1280,
|
121 |
value="resources/init.png", interactive=False,
|
122 |
show_share_button=False, show_download_button=False )
|
123 |
-
generated_image_overlayed = gr.Image(label="Weihnachtskarte", type='pil', width=1280,
|
124 |
value=pil_image_with_overlay(Image.open("resources/init.png"), toggle_greet.value, greet.value))
|
125 |
|
126 |
toggle_greet.change(fn=toggle_greet_visibility, inputs=[toggle_greet], outputs=[greet, greet_examples_column], queue=False)\
|
|
|
120 |
generated_image_raw = gr.Image(visible=False, type='pil', label="Erstelle Weihnachtskarte...", width=1280,
|
121 |
value="resources/init.png", interactive=False,
|
122 |
show_share_button=False, show_download_button=False )
|
123 |
+
generated_image_overlayed = gr.Image(label="Weihnachtskarte", type='pil', width=1280,
|
124 |
value=pil_image_with_overlay(Image.open("resources/init.png"), toggle_greet.value, greet.value))
|
125 |
|
126 |
toggle_greet.change(fn=toggle_greet_visibility, inputs=[toggle_greet], outputs=[greet, greet_examples_column], queue=False)\
|