Spaces:
orrinin
/
Runtime error

orrinin commited on
Commit
2a9a44a
·
verified ·
1 Parent(s): d6aa524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, 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