Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ if st.button("Dự đoán"):
|
|
32 |
# Gọi hàm predict và hiển thị kết quả
|
33 |
with st.spinner("Đang xử lý..."):
|
34 |
try:
|
35 |
-
result = predict(model.model,
|
36 |
st.success("Dự đoán hoàn tất!")
|
37 |
st.write("Kết quả dự đoán:")
|
38 |
st.write(result)
|
|
|
32 |
# Gọi hàm predict và hiển thị kết quả
|
33 |
with st.spinner("Đang xử lý..."):
|
34 |
try:
|
35 |
+
result = predict(model.model, input_text, tokenizer, model_tokenize, processed=False, printout=True)
|
36 |
st.success("Dự đoán hoàn tất!")
|
37 |
st.write("Kết quả dự đoán:")
|
38 |
st.write(result)
|