ahmadouna commited on
Commit
36c4196
·
verified ·
1 Parent(s): a01f014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"