Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ embeddings = OpenAIEmbeddings()
|
|
26 |
docsearch = FAISS.from_texts(texts, embeddings)
|
27 |
|
28 |
# Load model
|
29 |
-
model_path = "
|
30 |
|
31 |
model = TFAutoModelForQuestionAnswering.from_pretrained(model_path)
|
32 |
tokenizer = AutoTokenizer.from_pretrained('deepset/roberta-base-squad2')
|
|
|
26 |
docsearch = FAISS.from_texts(texts, embeddings)
|
27 |
|
28 |
# Load model
|
29 |
+
model_path = "./models/roberta_model"
|
30 |
|
31 |
model = TFAutoModelForQuestionAnswering.from_pretrained(model_path)
|
32 |
tokenizer = AutoTokenizer.from_pretrained('deepset/roberta-base-squad2')
|