li-yan commited on
Commit
5470855
·
verified ·
1 Parent(s): c7fbd0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def image_gen(name):
14
  images = pipeline(num_inference_steps=20).images
15
  return images[0]
16
 
17
- css = ".output-image {height: 256px !important; width: 256px !important;}"
18
 
19
  demo = gr.Interface(fn=image_gen, inputs=None, outputs="image", css=css)
20
  demo.launch()
 
14
  images = pipeline(num_inference_steps=20).images
15
  return images[0]
16
 
17
+ css = ".output-image, .input-image, .image-preview {height: 256px !important}"
18
 
19
  demo = gr.Interface(fn=image_gen, inputs=None, outputs="image", css=css)
20
  demo.launch()