Update app.py
Browse files
app.py
CHANGED
@@ -115,8 +115,8 @@ with gr.Blocks() as demo:
|
|
115 |
label="Generated image",
|
116 |
show_label = False,
|
117 |
tool=None, # Disable editing tools if not needed
|
118 |
-
source="upload"
|
119 |
-
|
120 |
width="50%", # Use the full view width
|
121 |
height="50%", # Use the full view height
|
122 |
object_fit="scale-down" # Maintain aspect ratio without cropping
|
|
|
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
|
122 |
object_fit="scale-down" # Maintain aspect ratio without cropping
|