Spaces:
Running
Running
pragnakalp
commited on
Commit
·
01127b3
1
Parent(s):
2191f9d
Update app.py
Browse files
app.py
CHANGED
@@ -14,11 +14,11 @@ from urllib.request import urlopen
|
|
14 |
from huggingface_hub import Repository
|
15 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
16 |
|
17 |
-
|
18 |
## connection with HF datasets
|
19 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
20 |
-
DATASET_NAME = "emotion_detection_dataset"
|
21 |
-
DATASET_REPO_URL = f"https://huggingface.co/datasets/pragnakalp/{DATASET_NAME}"
|
|
|
22 |
DATA_FILENAME = "emotion_detection_logs.csv"
|
23 |
DATA_FILE = os.path.join("emotion_detection_logs", DATA_FILENAME)
|
24 |
DATASET_REPO_ID = "pragnakalp/emotion_detection_dataset"
|
|
|
14 |
from huggingface_hub import Repository
|
15 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
16 |
|
|
|
17 |
## connection with HF datasets
|
18 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
19 |
+
# DATASET_NAME = "emotion_detection_dataset"
|
20 |
+
# DATASET_REPO_URL = f"https://huggingface.co/datasets/pragnakalp/{DATASET_NAME}"
|
21 |
+
DATASET_REPO_URL = "https://huggingface.co/datasets/pragnakalp/emotion_detection_dataset"
|
22 |
DATA_FILENAME = "emotion_detection_logs.csv"
|
23 |
DATA_FILE = os.path.join("emotion_detection_logs", DATA_FILENAME)
|
24 |
DATASET_REPO_ID = "pragnakalp/emotion_detection_dataset"
|