Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,5 +109,6 @@ def run():
|
|
109 |
flat_predictions = np.argmax(flat_predictions, axis=1).flatten()#p = [i for i in classifier(tweet_list)]
|
110 |
df = pd.DataFrame(list(zip(tweet_list, flat_predictions)),columns =['Latest'+str(number_of_tweets)+'Tweets'+' on '+search_words, 'Sexista'])
|
111 |
df['Sexista']= np.where(df['Sexista']== 0, 'No Sexista', 'Sexista')
|
112 |
-
st.
|
|
|
113 |
run()
|
|
|
109 |
flat_predictions = np.argmax(flat_predictions, axis=1).flatten()#p = [i for i in classifier(tweet_list)]
|
110 |
df = pd.DataFrame(list(zip(tweet_list, flat_predictions)),columns =['Latest'+str(number_of_tweets)+'Tweets'+' on '+search_words, 'Sexista'])
|
111 |
df['Sexista']= np.where(df['Sexista']== 0, 'No Sexista', 'Sexista')
|
112 |
+
st.dataframe(data=df, width=1024, height=800)
|
113 |
+
#st.write(df)
|
114 |
run()
|