Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ question_answerer = pipeline("question-answering", model=model, tokenizer=tokeni
|
|
36 |
|
37 |
def findHighestScore(question):
|
38 |
docs_found = docsearch.similarity_search(question)
|
39 |
-
doc_score = 0.
|
40 |
doc_answer = ''
|
41 |
|
42 |
for doc in docs_found:
|
|
|
36 |
|
37 |
def findHighestScore(question):
|
38 |
docs_found = docsearch.similarity_search(question)
|
39 |
+
doc_score = 0.01
|
40 |
doc_answer = ''
|
41 |
|
42 |
for doc in docs_found:
|