Sa-m commited on
Commit
d4d234d
1 Parent(s): bb84a6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from xlm_emo.classifier import EmotionClassifier
3
 
4
- io1 = gr.Interface.load('huggingface/MilaNLProc/xlm-emo-t')
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()