anilbhatt1 commited on
Commit
e8e6ab7
1 Parent(s): 787812a

Modified app.py to reduce inference steps

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -190,10 +190,10 @@ demo = gr.Interface(fn=gradio_fn,
190
  gr.Image(type="pil", height=224, width=224, info='Sample image to emulate the pattern'),
191
  gr.Radio(["anime","birb","depthmap","gta5","midjourney","beetlejuice","no-style"], label="Style",
192
  info="Choose the style in which image to be made"),
193
- gr.Slider(50, 200, value=50, label="Num_inference_steps", info="Choose between 50, 10, 150 & 200")],
194
  outputs=gr.Image(height=320, width=320),
195
  title="ImageAlchemy using Stable Diffusion",
196
  description="- Stable Diffusion model that generates single image to fit \
197
  (a) given text prompt (b) given reference image and (c) selected style.")
198
 
199
- demo.launch(share=True)
 
190
  gr.Image(type="pil", height=224, width=224, info='Sample image to emulate the pattern'),
191
  gr.Radio(["anime","birb","depthmap","gta5","midjourney","beetlejuice","no-style"], label="Style",
192
  info="Choose the style in which image to be made"),
193
+ gr.Slider(50, 100, value=50, label="Num_inference_steps", info="Choose between 50 & 100")],
194
  outputs=gr.Image(height=320, width=320),
195
  title="ImageAlchemy using Stable Diffusion",
196
  description="- Stable Diffusion model that generates single image to fit \
197
  (a) given text prompt (b) given reference image and (c) selected style.")
198
 
199
+ demo.launch(share=True)