Jordan Legg commited on
Commit
f8f73b3
·
1 Parent(s): 53d7a45

made image output standardised

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -157,7 +157,12 @@ with gr.Blocks(css=css) as demo:
157
 
158
  run_button = gr.Button("Run", scale=0)
159
 
160
- result = gr.Image(label="Result", show_label=False, width="100%")
 
 
 
 
 
161
 
162
  with gr.Row():
163
  aspect_ratio = gr.Dropdown(
 
157
 
158
  run_button = gr.Button("Run", scale=0)
159
 
160
+ result = gr.Image(
161
+ label="Result",
162
+ show_label=False,
163
+ width="100%",
164
+ type="pil",
165
+ )
166
 
167
  with gr.Row():
168
  aspect_ratio = gr.Dropdown(