Commit ·
dfde709
1
Parent(s): 0747f25
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,6 +89,7 @@ if user_input and button:
|
|
| 89 |
test_input = tokenizer([user_input],return_tensors='pt')
|
| 90 |
st.slider("Number of tweets", min_value=100, max_value=2000, key="user_input")
|
| 91 |
|
|
|
|
| 92 |
# Test output
|
| 93 |
output = model(**test_input)
|
| 94 |
st.write('Logits:',output.logits)
|
|
|
|
| 89 |
test_input = tokenizer([user_input],return_tensors='pt')
|
| 90 |
st.slider("Number of tweets", min_value=100, max_value=2000, key="user_input")
|
| 91 |
|
| 92 |
+
|
| 93 |
# Test output
|
| 94 |
output = model(**test_input)
|
| 95 |
st.write('Logits:',output.logits)
|