Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def apply_style(style_name: str, positive: str) -> Tuple[str, str]:
|
|
65 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
66 |
return p.replace("{prompt}", positive), n
|
67 |
|
68 |
-
@spaces.GPU
|
69 |
def generate(
|
70 |
prompt: str,
|
71 |
negative_prompt: str = "",
|
|
|
65 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
66 |
return p.replace("{prompt}", positive), n
|
67 |
|
68 |
+
@spaces.GPU
|
69 |
def generate(
|
70 |
prompt: str,
|
71 |
negative_prompt: str = "",
|