Maria
commited on
Commit
·
36683d7
1
Parent(s):
2b7a847
hw6
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 121 |
minimum=0.0,
|
| 122 |
maximum=15.0,
|
| 123 |
step=0.5,
|
| 124 |
-
value=
|
| 125 |
)
|
| 126 |
|
| 127 |
lora_scale = gr.Slider(
|
|
@@ -136,8 +136,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 136 |
label="Number of inference steps",
|
| 137 |
minimum=1,
|
| 138 |
maximum=50,
|
| 139 |
-
step=
|
| 140 |
-
value=
|
| 141 |
)
|
| 142 |
|
| 143 |
gr.Examples(examples=examples, inputs=[prompt])
|
|
|
|
| 121 |
minimum=0.0,
|
| 122 |
maximum=15.0,
|
| 123 |
step=0.5,
|
| 124 |
+
value=8.0, # Replace with defaults that work for your model
|
| 125 |
)
|
| 126 |
|
| 127 |
lora_scale = gr.Slider(
|
|
|
|
| 136 |
label="Number of inference steps",
|
| 137 |
minimum=1,
|
| 138 |
maximum=50,
|
| 139 |
+
step=1,
|
| 140 |
+
value=30, # Replace with defaults that work for your model
|
| 141 |
)
|
| 142 |
|
| 143 |
gr.Examples(examples=examples, inputs=[prompt])
|