Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,20 @@ def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str
|
|
| 79 |
negative = ""
|
| 80 |
return p.replace("{prompt}", positive), n + negative
|
| 81 |
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
if not torch.cuda.is_available():
|
| 84 |
DESCRIPTION += "\n<p>⚠️Running on CPU, This may not work on CPU.</p>"
|
| 85 |
|
|
|
|
| 79 |
negative = ""
|
| 80 |
return p.replace("{prompt}", positive), n + negative
|
| 81 |
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
DESCRIPTION = """## MidJourney
|
| 87 |
+
|
| 88 |
+
Drop your best results in the community: [rb.gy/klkbs7](rb.gy/klkbs7)
|
| 89 |
+
|
| 90 |
+
"""
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
|
| 96 |
if not torch.cuda.is_available():
|
| 97 |
DESCRIPTION += "\n<p>⚠️Running on CPU, This may not work on CPU.</p>"
|
| 98 |
|