Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import pandas as pd
|
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score, balanced_accuracy_score
|
5 |
-
|
6 |
# Charger le modèle pré-entraîné
|
7 |
classifier_model = "morit/french_xlm_xnli"
|
8 |
#classifier_model ="MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
|
|
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score, balanced_accuracy_score
|
5 |
+
from PIL import Image
|
6 |
# Charger le modèle pré-entraîné
|
7 |
classifier_model = "morit/french_xlm_xnli"
|
8 |
#classifier_model ="MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
|