Kelvinhjk commited on
Commit
68b0c79
·
1 Parent(s): b5dbbda

Update app.py

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