Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ from concurrent.futures import ThreadPoolExecutor
|
|
22 |
import uuid
|
23 |
|
24 |
DESCRIPTION = '''# Latent Consistency Model OpenVino CPU
|
25 |
-
Based on [Latency Consistency Model OpenVINO CPU](https://huggingface.co/deinferno/Latent_Consistency_Model_OpenVino_CPU) HF space
|
26 |
|
27 |
Converted from [SoteMix](https://huggingface.co/Disty0/SoteMix) to [LCM_SoteMix](https://huggingface.co/Disty0/LCM_SoteMix) and then to OpenVINO
|
28 |
|
@@ -141,14 +141,14 @@ with gr.Blocks(css="style.css") as demo:
|
|
141 |
randomize=True
|
142 |
)
|
143 |
randomize_seed = gr.Checkbox(label="Randomize seed across runs", value=True)
|
144 |
-
|
|
|
145 |
label="Guidance scale for base",
|
146 |
minimum=1,
|
147 |
maximum=8,
|
148 |
step=0.1,
|
149 |
value=1.0,
|
150 |
)
|
151 |
-
with gr.Row():
|
152 |
num_inference_steps = gr.Slider(
|
153 |
label="Number of inference steps for base",
|
154 |
minimum=1,
|
|
|
22 |
import uuid
|
23 |
|
24 |
DESCRIPTION = '''# Latent Consistency Model OpenVino CPU
|
25 |
+
Based on [Latency Consistency Model OpenVINO CPU](https://huggingface.co/spaces/deinferno/Latent_Consistency_Model_OpenVino_CPU) HF space
|
26 |
|
27 |
Converted from [SoteMix](https://huggingface.co/Disty0/SoteMix) to [LCM_SoteMix](https://huggingface.co/Disty0/LCM_SoteMix) and then to OpenVINO
|
28 |
|
|
|
141 |
randomize=True
|
142 |
)
|
143 |
randomize_seed = gr.Checkbox(label="Randomize seed across runs", value=True)
|
144 |
+
with gr.Row():
|
145 |
+
guidance_scale = gr.Slider(
|
146 |
label="Guidance scale for base",
|
147 |
minimum=1,
|
148 |
maximum=8,
|
149 |
step=0.1,
|
150 |
value=1.0,
|
151 |
)
|
|
|
152 |
num_inference_steps = gr.Slider(
|
153 |
label="Number of inference steps for base",
|
154 |
minimum=1,
|