Alex Martin commited on
Commit
4416bb5
1 Parent(s): da0c231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -25,7 +25,8 @@ def get_cats(text):
25
  prob = torch.sigmoid(outputs.logits).detach().numpy()[0]
26
 
27
  data = create_dict(prob, text)
28
- st.table(data)
 
29
 
30
  words = "Take that, you funking cat-dragon! You smell really bad!"
31
  text = st.text_area("Insert text for analysis below.", words)
 
25
  prob = torch.sigmoid(outputs.logits).detach().numpy()[0]
26
 
27
  data = create_dict(prob, text)
28
+ res = pd.Dataframe(data)
29
+ st.table(res)
30
 
31
  words = "Take that, you funking cat-dragon! You smell really bad!"
32
  text = st.text_area("Insert text for analysis below.", words)