harpomaxx commited on
Commit
f4e427b
1 Parent(s): f37275f

Update app.py

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