ahmadouna commited on
Commit
bae9954
·
1 Parent(s): c32dcec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -1,17 +1,6 @@
1
 
2
  import streamlit as st
3
  from transformers import pipeline
4
- """"
5
- pipe = pipeline('sentiment-analysis')
6
- st.title("Analyse de sentiment")
7
- #Textbox for text user is entering
8
-
9
-
10
- out = pipe(text)
11
-
12
- st.write("Sentiment du text: ")
13
- st.write(out)
14
- """
15
  classifier = pipeline("zero-shot-classification",
16
  model="morit/french_xlm_xnli")
17
  text = st.text_input('Entrer le texte a analyser')
 
1
 
2
  import streamlit as st
3
  from transformers import pipeline
 
 
 
 
 
 
 
 
 
 
 
4
  classifier = pipeline("zero-shot-classification",
5
  model="morit/french_xlm_xnli")
6
  text = st.text_input('Entrer le texte a analyser')