Spaces:
Sleeping
Sleeping
Commit
·
550afd7
1
Parent(s):
4385285
corrected tokenizer path
Browse files
app.py
CHANGED
@@ -56,13 +56,13 @@ label_mapping = ['angry', 'calm', 'disgust', 'fearful', 'happy', 'sad', 'surpris
|
|
56 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
57 |
|
58 |
# Create the path to the file in the parent directory
|
59 |
-
parent_dir = os.path.abspath(os.path.join(current_dir, "
|
60 |
#file_path = os.path.join(parent_dir, "MultiModal/MultiModal_model_state_dict.pth")
|
61 |
|
62 |
# Define your model name from the Hugging Face model hub
|
63 |
model_weights_path = "https://huggingface.co/netgvarun2005/MultiModalBertHubert/resolve/main/MultiModal_model_state_dict.pth"
|
64 |
# GenAI model
|
65 |
-
parent_dir2 = os.path.abspath(os.path.join(current_dir, "
|
66 |
|
67 |
|
68 |
# Emo Detector
|
|
|
56 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
57 |
|
58 |
# Create the path to the file in the parent directory
|
59 |
+
parent_dir = os.path.abspath(os.path.join(current_dir, "/EmotionDetector/Models/"))
|
60 |
#file_path = os.path.join(parent_dir, "MultiModal/MultiModal_model_state_dict.pth")
|
61 |
|
62 |
# Define your model name from the Hugging Face model hub
|
63 |
model_weights_path = "https://huggingface.co/netgvarun2005/MultiModalBertHubert/resolve/main/MultiModal_model_state_dict.pth"
|
64 |
# GenAI model
|
65 |
+
parent_dir2 = os.path.abspath(os.path.join(current_dir, "/GenAI/"))
|
66 |
|
67 |
|
68 |
# Emo Detector
|