Spaces:
Runtime error
Runtime error
Commit
•
d3e9df1
1
Parent(s):
e55d6ba
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def generate(
|
|
73 |
seed: int = 0,
|
74 |
width: int = 1024,
|
75 |
height: int = 1024,
|
76 |
-
prior_num_inference_steps: int =
|
77 |
# prior_timesteps: List[float] = None,
|
78 |
prior_guidance_scale: float = 4.0,
|
79 |
decoder_num_inference_steps: int = 12,
|
@@ -90,6 +90,7 @@ def generate(
|
|
90 |
prompt=prompt,
|
91 |
height=height,
|
92 |
width=width,
|
|
|
93 |
timesteps=DEFAULT_STAGE_C_TIMESTEPS,
|
94 |
negative_prompt=negative_prompt,
|
95 |
guidance_scale=prior_guidance_scale,
|
|
|
73 |
seed: int = 0,
|
74 |
width: int = 1024,
|
75 |
height: int = 1024,
|
76 |
+
prior_num_inference_steps: int = 30,
|
77 |
# prior_timesteps: List[float] = None,
|
78 |
prior_guidance_scale: float = 4.0,
|
79 |
decoder_num_inference_steps: int = 12,
|
|
|
90 |
prompt=prompt,
|
91 |
height=height,
|
92 |
width=width,
|
93 |
+
num_inference_steps=prior_num_inference_steps,
|
94 |
timesteps=DEFAULT_STAGE_C_TIMESTEPS,
|
95 |
negative_prompt=negative_prompt,
|
96 |
guidance_scale=prior_guidance_scale,
|