ahmadouna commited on
Commit
b98e93a
1 Parent(s): b787b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,6 +1,11 @@
1
  import streamlit as st
2
  from transformers import pipeline
 
 
3
 
 
 
 
4
  # Initialisation de la pipeline de classification à zéro tir
5
  classifier = pipeline("zero-shot-classification", model="morit/french_xlm_xnli")
6
 
 
1
  import streamlit as st
2
  from transformers import pipeline
3
+ import pandas as pd
4
+ import numpy as np
5
 
6
+ df = pd.DataFrame(np.random.randn(50, 20), columns=("col %d" % i for i in range(20)))
7
+
8
+ st.dataframe(df) # Same as st.write(df)
9
  # Initialisation de la pipeline de classification à zéro tir
10
  classifier = pipeline("zero-shot-classification", model="morit/french_xlm_xnli")
11