Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,11 +156,11 @@ def generate_60(
|
|
| 156 |
prompt: str,
|
| 157 |
negative_prompt: str = "",
|
| 158 |
use_negative_prompt: bool = False,
|
| 159 |
-
|
| 160 |
seed: int = 1,
|
| 161 |
width: int = 768,
|
| 162 |
height: int = 768,
|
| 163 |
-
guidance_scale: float =
|
| 164 |
num_inference_steps: int = 250,
|
| 165 |
randomize_seed: bool = False,
|
| 166 |
use_resolution_binning: bool = True,
|
|
@@ -206,11 +206,11 @@ def generate_90(
|
|
| 206 |
prompt: str,
|
| 207 |
negative_prompt: str = "",
|
| 208 |
use_negative_prompt: bool = False,
|
| 209 |
-
|
| 210 |
seed: int = 1,
|
| 211 |
width: int = 768,
|
| 212 |
height: int = 768,
|
| 213 |
-
guidance_scale: float =
|
| 214 |
num_inference_steps: int = 250,
|
| 215 |
randomize_seed: bool = False,
|
| 216 |
use_resolution_binning: bool = True,
|
|
|
|
| 156 |
prompt: str,
|
| 157 |
negative_prompt: str = "",
|
| 158 |
use_negative_prompt: bool = False,
|
| 159 |
+
# style_selection: str = DEFAULT_STYLE_NAME,
|
| 160 |
seed: int = 1,
|
| 161 |
width: int = 768,
|
| 162 |
height: int = 768,
|
| 163 |
+
guidance_scale: float = 4.2,
|
| 164 |
num_inference_steps: int = 250,
|
| 165 |
randomize_seed: bool = False,
|
| 166 |
use_resolution_binning: bool = True,
|
|
|
|
| 206 |
prompt: str,
|
| 207 |
negative_prompt: str = "",
|
| 208 |
use_negative_prompt: bool = False,
|
| 209 |
+
# style_selection: str = DEFAULT_STYLE_NAME,
|
| 210 |
seed: int = 1,
|
| 211 |
width: int = 768,
|
| 212 |
height: int = 768,
|
| 213 |
+
guidance_scale: float = 4.2,
|
| 214 |
num_inference_steps: int = 250,
|
| 215 |
randomize_seed: bool = False,
|
| 216 |
use_resolution_binning: bool = True,
|