DiningSystem commited on
Commit
0092ce3
1 Parent(s): 590c0e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,5 +14,5 @@ def text_to_hair(prompt, guidance_scale=8, num_inference_steps=30, model_path ="
14
  #image.save(save_name) #comment if don't want to save image
15
  return image #PIL format
16
 
17
- demo = gr.Interface(fn=text_to_hair, inputs=["text",gr.Slider(5, 20, value=8, label="Guidance_scale", info="Choose between 5 and 20 to improve image's content")], outputs="image")
18
  demo.launch()
 
14
  #image.save(save_name) #comment if don't want to save image
15
  return image #PIL format
16
 
17
+ demo = gr.Interface(fn=text_to_hair, inputs=["text", gr.Slider(5, 20, value=8, label="Guidance_scale", info="Choose between 5 and 20 to improve image's content"), gr.Slider(20, 500, value=20, label="Num_infer_steps", info="Choose between 20 and 500 to improve image's resolution")], outputs="image")
18
  demo.launch()