Amiruzzaman commited on
Commit
a386893
·
verified ·
1 Parent(s): 12b0cd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from simpletransformers.question_answering import QuestionAnsweringModel
3
 
4
  # Load your model
5
  model_path = "best_model"
6
- model = QuestionAnsweringModel("bert", model_path, use_cuda=False)
7
 
8
  # Streamlit app
9
  st.title("Question Answering Model (DistilBERT)")
 
3
 
4
  # Load your model
5
  model_path = "best_model"
6
+ model = QuestionAnsweringModel("distilbert", model_path, use_cuda=False)
7
 
8
  # Streamlit app
9
  st.title("Question Answering Model (DistilBERT)")