Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import joblib
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
-
cdqa_pipeline=joblib.load('question_answer/bert_qa_custom.joblib') #fitted pipleine
|
| 9 |
|
| 10 |
def generate_answers(query):
|
| 11 |
prediction = cdqa_pipeline.predict(query, 3) #provides top three responses
|
|
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
+
cdqa_pipeline=joblib.load('aditi2222/question_answer/bert_qa_custom.joblib') #fitted pipleine
|
| 9 |
|
| 10 |
def generate_answers(query):
|
| 11 |
prediction = cdqa_pipeline.predict(query, 3) #provides top three responses
|