Spaces:
Runtime error
Runtime error
Carlosito16
commited on
Commit
•
00f0cb3
1
Parent(s):
1c86c0c
Update app.py
Browse filesedit the nlp> prob_pipeline
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 =
|
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']
|