Spaces:
Running
Running
Update app.py
Browse files
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("
|
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)")
|