Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import re
|
|
9 |
import os
|
10 |
|
11 |
model_id = "CompVis/stable-diffusion-v1-4"
|
12 |
-
device = "
|
13 |
|
14 |
auth_token = os.environ.get("READ_TOKEN")
|
15 |
#If you are running this code locally, you need to either do a 'huggingface-cli login` or paste your User Access Token from here https://huggingface.co/settings/tokens into the use_auth_token field below.
|
|
|
9 |
import os
|
10 |
|
11 |
model_id = "CompVis/stable-diffusion-v1-4"
|
12 |
+
device = "cpu"
|
13 |
|
14 |
auth_token = os.environ.get("READ_TOKEN")
|
15 |
#If you are running this code locally, you need to either do a 'huggingface-cli login` or paste your User Access Token from here https://huggingface.co/settings/tokens into the use_auth_token field below.
|