trying 1 step
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def text2Image(prompt, steps=50, scale=7, Width=1024, Height=1024):
|
|
21 |
ui = gr.Interface(fn=text2Image,
|
22 |
inputs=[
|
23 |
gr.Textbox(label="Enter Text Prompt"),
|
24 |
-
gr.Slider(minimum=
|
25 |
gr.Slider(minimum=4, maximum=10, value=7, step=0.1, label="Guidance Scale"),
|
26 |
gr.Number(label="Image Width", value=1024),
|
27 |
gr.Number(label="Image Height", value=1024)],
|
|
|
21 |
ui = gr.Interface(fn=text2Image,
|
22 |
inputs=[
|
23 |
gr.Textbox(label="Enter Text Prompt"),
|
24 |
+
gr.Slider(minimum=1, maximum=150, value=50, label="Number of Inference Steps"),
|
25 |
gr.Slider(minimum=4, maximum=10, value=7, step=0.1, label="Guidance Scale"),
|
26 |
gr.Number(label="Image Width", value=1024),
|
27 |
gr.Number(label="Image Height", value=1024)],
|