Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
58 |
minimum=0.1,
|
59 |
maximum=30.0,
|
60 |
step=0.1,
|
61 |
-
value=5,
|
62 |
)
|
63 |
adapter_conditioning_scale = gr.Slider(
|
64 |
label="Adapter Conditioning Scale",
|
|
|
58 |
minimum=0.1,
|
59 |
maximum=30.0,
|
60 |
step=0.1,
|
61 |
+
value=5.0,
|
62 |
)
|
63 |
adapter_conditioning_scale = gr.Slider(
|
64 |
label="Adapter Conditioning Scale",
|
model.py
CHANGED
@@ -162,9 +162,9 @@ class Model:
|
|
162 |
prompt: str,
|
163 |
negative_prompt: str,
|
164 |
num_inference_steps: int = 30,
|
165 |
-
guidance_scale: float =
|
166 |
-
adapter_conditioning_scale: float = 0
|
167 |
-
cond_tau: float = 0
|
168 |
seed: int = 0,
|
169 |
apply_preprocess: bool = True,
|
170 |
) -> list[PIL.Image.Image]:
|
|
|
162 |
prompt: str,
|
163 |
negative_prompt: str,
|
164 |
num_inference_steps: int = 30,
|
165 |
+
guidance_scale: float = 5.0,
|
166 |
+
adapter_conditioning_scale: float = 1.0,
|
167 |
+
cond_tau: float = 1.0,
|
168 |
seed: int = 0,
|
169 |
apply_preprocess: bool = True,
|
170 |
) -> list[PIL.Image.Image]:
|