Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ print(styles)
|
|
76 |
STYLE_NAMES = list(styles.keys())
|
77 |
DEFAULT_STYLE_NAME = "(无风格)"
|
78 |
|
79 |
-
def apply_style(style_name: str, positive: str) -> Tuple[str
|
80 |
p = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
81 |
return p.replace("{prompt}", positive)
|
82 |
|
|
|
76 |
STYLE_NAMES = list(styles.keys())
|
77 |
DEFAULT_STYLE_NAME = "(无风格)"
|
78 |
|
79 |
+
def apply_style(style_name: str, positive: str) -> Tuple[str]:
|
80 |
p = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
81 |
return p.replace("{prompt}", positive)
|
82 |
|