Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
# Load the question-answering pipeline using the deepset/roberta-base-squad2 model
|
4 |
-
qa_model = pipeline("question-answering", model="deepset/roberta-base-squad2")
|
5 |
-
|
6 |
|
7 |
# Define a function to get the model's response
|
8 |
def get_response(context, question):
|
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
3 |
|
4 |
# Define a function to get the model's response
|
5 |
def get_response(context, question):
|