Update app.py
Browse files
app.py
CHANGED
@@ -113,9 +113,9 @@ with gr.Blocks() as demo:
|
|
113 |
|
114 |
gallery = gr.Image(
|
115 |
label="Generated image",
|
|
|
116 |
show_label = False,
|
117 |
tool=None, # Disable editing tools if not needed
|
118 |
-
source="upload" # Allows image uploading
|
119 |
).style(
|
120 |
width="50%", # Use the full view width
|
121 |
height="50%", # Use the full view height
|
|
|
113 |
|
114 |
gallery = gr.Image(
|
115 |
label="Generated image",
|
116 |
+
type='pil',
|
117 |
show_label = False,
|
118 |
tool=None, # Disable editing tools if not needed
|
|
|
119 |
).style(
|
120 |
width="50%", # Use the full view width
|
121 |
height="50%", # Use the full view height
|