Spaces:
Runtime error
Runtime error
Commit
·
5bc9505
1
Parent(s):
ac7bed8
Add app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
# %% [markdown]
|
| 6 |
# ## 1. Install Requirements
|
| 7 |
-
|
| 8 |
import torch
|
| 9 |
from diffusers import StableDiffusionPipeline
|
| 10 |
from huggingface_hub import snapshot_download
|
|
|
|
| 4 |
|
| 5 |
# %% [markdown]
|
| 6 |
# ## 1. Install Requirements
|
| 7 |
+
pip install -q torch diffusers transformers pillow huggingface_hub
|
| 8 |
import torch
|
| 9 |
from diffusers import StableDiffusionPipeline
|
| 10 |
from huggingface_hub import snapshot_download
|