li-yan commited on
Commit
7d13422
·
verified ·
1 Parent(s): 28e6e70

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=40).images
15
  return images[0]
16
 
17
- css = ".output-image, .input-image, .image-preview {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=40).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()