Spaces:
Runtime error
Runtime error
DiningSystem
commited on
Commit
•
c11eb14
1
Parent(s):
eeb353a
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,5 @@ def text_to_hair(prompt, guidance_scale=8, num_inference_steps=30, styles=data_i
|
|
28 |
|
29 |
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"),
|
30 |
gr.Slider(20, 500, value=20, label="Num_infer_steps", info="Choose between 20 and 500 to improve image's resolution"),
|
31 |
-
gr.Dropdown(data_into_list, interactive=True, label="Some suggestion hairstyles", info="For your suggestion and reference!")],
|
32 |
-
outputs="image")
|
33 |
demo.launch()
|
|
|
28 |
|
29 |
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"),
|
30 |
gr.Slider(20, 500, value=20, label="Num_infer_steps", info="Choose between 20 and 500 to improve image's resolution"),
|
31 |
+
gr.Dropdown(data_into_list, interactive=True, label="Some suggestion hairstyles", info="For your suggestion and reference!")],outputs="image")
|
|
|
32 |
demo.launch()
|