Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from xlm_emo.classifier import EmotionClassifier
|
3 |
|
4 |
-
io1 =
|
5 |
|
6 |
def emotionClassifier(text):
|
7 |
ec = EmotionClassifier()
|
|
|
1 |
import gradio as gr
|
2 |
from xlm_emo.classifier import EmotionClassifier
|
3 |
|
4 |
+
io1 = 'huggingface/MilaNLProc/xlm-emo-t'
|
5 |
|
6 |
def emotionClassifier(text):
|
7 |
ec = EmotionClassifier()
|