Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ DESCRIPTION = '''# Latent Consistency Model
|
|
27 |
Distilled from [Dreamshaper v7](https://huggingface.co/Lykon/dreamshaper-7) fine-tune of [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) with only 4,000 training iterations (~32 A100 GPU Hours). [Project page](https://latent-consistency-models.github.io)
|
28 |
'''
|
29 |
if not torch.cuda.is_available():
|
30 |
-
DESCRIPTION += "\n<p>Running on CPU
|
31 |
|
32 |
MAX_SEED = np.iinfo(np.int32).max
|
33 |
CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES") == "1"
|
|
|
27 |
Distilled from [Dreamshaper v7](https://huggingface.co/Lykon/dreamshaper-7) fine-tune of [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) with only 4,000 training iterations (~32 A100 GPU Hours). [Project page](https://latent-consistency-models.github.io)
|
28 |
'''
|
29 |
if not torch.cuda.is_available():
|
30 |
+
DESCRIPTION += "\n<p>Running on CPU 🤩 This demo works on CPU 👌.</p>"
|
31 |
|
32 |
MAX_SEED = np.iinfo(np.int32).max
|
33 |
CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES") == "1"
|