nneka commited on
Commit
f8024b8
1 Parent(s): 3d5d8f9

Update app.py

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