Spaces:
Running
Running
PushkarA07
commited on
Commit
•
159466a
1
Parent(s):
f3c7878
Update app.py
Browse files
app.py
CHANGED
@@ -133,10 +133,10 @@ random_seed = random.randint(0, 2147483647)
|
|
133 |
gr.Interface(
|
134 |
predict,
|
135 |
inputs=[
|
136 |
-
gr.
|
137 |
-
gr.
|
138 |
-
gr.
|
139 |
-
gr.
|
140 |
],
|
141 |
outputs=gr.Image(shape=[256,256], type="pil", elem_id="output_image"),
|
142 |
css="#output_image{width: 256px}",
|
|
|
133 |
gr.Interface(
|
134 |
predict,
|
135 |
inputs=[
|
136 |
+
gr.Textbox(label='Text', value='a chalk pastel drawing of a llama wearing a wizard hat'),
|
137 |
+
gr.Slider(1, 100, label='Inference Steps', value=50, step=1),
|
138 |
+
gr.Slider(0, 2147483647, label='Seed', value=random_seed, step=1),
|
139 |
+
gr.Slider(1.0, 20.0, label='Guidance Scale - how much the prompt will influence the results', value=6.0, step=0.1),
|
140 |
],
|
141 |
outputs=gr.Image(shape=[256,256], type="pil", elem_id="output_image"),
|
142 |
css="#output_image{width: 256px}",
|