harpomaxx commited on
Commit
f37275f
·
verified ·
1 Parent(s): 23cd40c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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") # 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
 
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