MaawaKhalid commited on
Commit
fb1b355
·
verified ·
1 Parent(s): 24e406e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the model and tokenizer from Hugging Face
5
- qa_pipeline = pipeline('question-answering', model='your_username/Extractive-QA-Bot')
6
 
7
  # Define the function to answer questions
8
  def answer_question(context, question):
 
2
  from transformers import pipeline
3
 
4
  # Load the model and tokenizer from Hugging Face
5
+ qa_pipeline = pipeline('question-answering', model='MaawaKhalid/Extractive-QA-Bot')
6
 
7
  # Define the function to answer questions
8
  def answer_question(context, question):