Spaces:
Sleeping
Sleeping
padmanabhbosamia
commited on
Commit
•
8e9aa2a
1
Parent(s):
1a7b856
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ logging.set_verbosity_error()
|
|
28 |
# Set device
|
29 |
torch_device = "cuda" if torch.cuda.is_available() else "cpu"
|
30 |
|
31 |
-
|
32 |
-
|
33 |
|
34 |
|
35 |
# Load the autoencoder model which will be used to decode the latents into image space.
|
|
|
28 |
# Set device
|
29 |
torch_device = "cuda" if torch.cuda.is_available() else "cpu"
|
30 |
|
31 |
+
import os
|
32 |
+
MY_TOKEN=os.environ.get('HF_TOKEN_SD')
|
33 |
|
34 |
|
35 |
# Load the autoencoder model which will be used to decode the latents into image space.
|