Spaces:
Build error
Build error
ads
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from sentence_splitter import SentenceSplitter
|
|
8 |
from itertools import product
|
9 |
|
10 |
# Get the Hugging Face token from environment variable
|
11 |
-
hf_token = os.getenv('
|
12 |
|
13 |
cuda_available = torch.cuda.is_available()
|
14 |
device = torch.device("cuda" if cuda_available else "cpu")
|
|
|
8 |
from itertools import product
|
9 |
|
10 |
# Get the Hugging Face token from environment variable
|
11 |
+
hf_token = os.getenv('hf_token')
|
12 |
|
13 |
cuda_available = torch.cuda.is_available()
|
14 |
device = torch.device("cuda" if cuda_available else "cpu")
|