Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,4 +43,5 @@ button = st.button('Run classifier')
|
|
43 |
|
44 |
if button:
|
45 |
probs = forward_pass(title, abstract, tokenizer, model)
|
46 |
-
|
|
|
|
43 |
|
44 |
if button:
|
45 |
probs = forward_pass(title, abstract, tokenizer, model)
|
46 |
+
micro_df = pd.DataFrame({'Categories': CATEGORIES, 'Cat. Probability': probs})
|
47 |
+
st.write(micro_df)
|