Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,4 +159,4 @@ with st.form(key='my_form'):
|
|
159 |
best_words = [tokenizer2.decode([idx.item()]) for idx in best_indices]
|
160 |
st.write(best_words)
|
161 |
if submit_button5:
|
162 |
-
BestProbs5(
|
|
|
159 |
best_words = [tokenizer2.decode([idx.item()]) for idx in best_indices]
|
160 |
st.write(best_words)
|
161 |
if submit_button5:
|
162 |
+
BestProbs5(text)
|