Carlosito16 commited on
Commit
00f0cb3
1 Parent(s): 1c86c0c

Update app.py

Browse files

edit the nlp> prob_pipeline

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def retrieve_probability(ctx_input, q_input):
18
  'question': q_input,
19
  'context': ctx_input
20
  }
21
- response = nlp(QA_input)
22
 
23
 
24
  return response['score']
 
18
  'question': q_input,
19
  'context': ctx_input
20
  }
21
+ response = prob_pipeline(QA_input)
22
 
23
 
24
  return response['score']