Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipe = pipeline("text-classification", model="
|
5 |
|
6 |
label2emoji = {"terrible": "π©", "poor": "πΎ", "ok": "π±", "good": "πΊ", "great": "π»"}
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipe = pipeline("text-classification", model="clp/xlm-roberta-base-finetuned-marc")
|
5 |
|
6 |
label2emoji = {"terrible": "π©", "poor": "πΎ", "ok": "π±", "good": "πΊ", "great": "π»"}
|
7 |
|