Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ DESCRIPTION = '# [Shap-E](https://github.com/openai/shap-e)'
|
|
14 |
if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
15 |
DESCRIPTION += f'\n<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
|
16 |
if not torch.cuda.is_available():
|
17 |
-
DESCRIPTION += '\n<p>Running on CPU 🥶 This demo does
|
18 |
|
19 |
model = Model()
|
20 |
|
|
|
14 |
if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
15 |
DESCRIPTION += f'\n<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
|
16 |
if not torch.cuda.is_available():
|
17 |
+
DESCRIPTION += '\n<p>Running on CPU 🥶 This demo does work on CPU.</p>'
|
18 |
|
19 |
model = Model()
|
20 |
|