Spaces:
Runtime error
Runtime error
Commit
Β·
4f33d6c
1
Parent(s):
19345dc
css
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ style_list = [
|
|
| 202 |
|
| 203 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
| 204 |
STYLE_NAMES = list(styles.keys())
|
| 205 |
-
DEFAULT_STYLE_NAME = "
|
| 206 |
|
| 207 |
# Function to apply selected style
|
| 208 |
def apply_style(style_name: str, positive: str, negative: str = ""):
|
|
@@ -218,7 +218,7 @@ def infer(
|
|
| 218 |
randomize_seed=False,
|
| 219 |
width=1024,
|
| 220 |
height=1024,
|
| 221 |
-
num_inference_steps=
|
| 222 |
progress=gr.Progress(track_tqdm=True),
|
| 223 |
):
|
| 224 |
if randomize_seed:
|
|
|
|
| 202 |
|
| 203 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
| 204 |
STYLE_NAMES = list(styles.keys())
|
| 205 |
+
DEFAULT_STYLE_NAME = "D&D Map"
|
| 206 |
|
| 207 |
# Function to apply selected style
|
| 208 |
def apply_style(style_name: str, positive: str, negative: str = ""):
|
|
|
|
| 218 |
randomize_seed=False,
|
| 219 |
width=1024,
|
| 220 |
height=1024,
|
| 221 |
+
num_inference_steps=4,
|
| 222 |
progress=gr.Progress(track_tqdm=True),
|
| 223 |
):
|
| 224 |
if randomize_seed:
|