hHoai commited on
Commit
939d153
·
verified ·
1 Parent(s): 29d0ae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, text3, 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)
 
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)