Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
6 |
from textblob import TextBlob
|
7 |
import os
|
8 |
-
from huggingface_hub import
|
9 |
|
10 |
# Get the Hugging Face API token from the environment variable
|
11 |
hf_token = os.getenv("pasavectoi")
|
|
|
5 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
6 |
from textblob import TextBlob
|
7 |
import os
|
8 |
+
from huggingface_hub import HfApi
|
9 |
|
10 |
# Get the Hugging Face API token from the environment variable
|
11 |
hf_token = os.getenv("pasavectoi")
|