Update app.py
Browse files
app.py
CHANGED
@@ -181,12 +181,12 @@ with gr.Blocks() as demo:
|
|
181 |
value=0.0, # Replace with defaults that work for your model
|
182 |
)
|
183 |
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
)
|
191 |
|
192 |
gr.Examples(examples=examples, inputs=[prompt])
|
|
|
181 |
value=0.0, # Replace with defaults that work for your model
|
182 |
)
|
183 |
|
184 |
+
num_inference_steps = gr.Slider(
|
185 |
+
label="Number of inference steps",
|
186 |
+
minimum=1,
|
187 |
+
maximum=10,
|
188 |
+
step=1,
|
189 |
+
value=15, # Replace with defaults that work for your model
|
190 |
)
|
191 |
|
192 |
gr.Examples(examples=examples, inputs=[prompt])
|