Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,10 +45,10 @@ def main_ui():
|
|
45 |
with gr.Row():
|
46 |
keylock_image_input = gr.Image(
|
47 |
label="Stego Image (PNG containing HF_TOKEN)",
|
48 |
-
type="pil",
|
49 |
-
|
50 |
-
|
51 |
-
#
|
52 |
)
|
53 |
keylock_password_input = gr.Textbox(
|
54 |
label="Image Password",
|
|
|
45 |
with gr.Row():
|
46 |
keylock_image_input = gr.Image(
|
47 |
label="Stego Image (PNG containing HF_TOKEN)",
|
48 |
+
type="pil",
|
49 |
+
image_mode="RGBA", # << TRY ADDING THIS. Use "RGB" if your images are RGB.
|
50 |
+
# If you're unsure, you can omit it first to see if the debug saving helps.
|
51 |
+
# sources=["upload"],
|
52 |
)
|
53 |
keylock_password_input = gr.Textbox(
|
54 |
label="Image Password",
|