Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
77eb8e2
1
Parent(s):
ed9f139
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ It's a merge of several different models and is supposed to provide excellent pe
|
|
30 |
Also see [OpenDalle Original Demo](https://huggingface.co/spaces/mrfakename/OpenDalle-GPU-Demo/)
|
31 |
"""
|
32 |
if not torch.cuda.is_available():
|
33 |
-
DESCRIPTION += "\n<
|
34 |
|
35 |
MAX_SEED = np.iinfo(np.int32).max
|
36 |
CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES", "0") == "1"
|
|
|
30 |
Also see [OpenDalle Original Demo](https://huggingface.co/spaces/mrfakename/OpenDalle-GPU-Demo/)
|
31 |
"""
|
32 |
if not torch.cuda.is_available():
|
33 |
+
DESCRIPTION += "\n<h1>Running on CPU 🥶 This demo does not work on CPU. Please use <a href=\"https://huggingface.co/spaces/mrfakename/OpenDalleV1.1-GPU-Demo\">the online demo</a> instead</h1>"
|
34 |
|
35 |
MAX_SEED = np.iinfo(np.int32).max
|
36 |
CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES", "0") == "1"
|