Spaces:
Runtime error
Runtime error
ritutweets46
commited on
Commit
•
c7b9640
1
Parent(s):
d006030
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import os
|
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
10 |
|
11 |
# Set your Hugging Face token
|
12 |
-
HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN"
|
13 |
login(token=HUGGINGFACE_TOKEN)
|
14 |
|
15 |
# Path to your model repository and safetensors weights
|
|
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
10 |
|
11 |
# Set your Hugging Face token
|
12 |
+
HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
|
13 |
login(token=HUGGINGFACE_TOKEN)
|
14 |
|
15 |
# Path to your model repository and safetensors weights
|