quocviethere commited on
Commit
ab38f45
1 Parent(s): 213f335

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 using Hugging Face's pipeline
5
- model_name = "quocviethere/xlmroberta-finetuned-squadv2")"
6
  qa_pipeline = pipeline('question-answering', model=model_name)
7
 
8
  # Define a function that the interface will use
 
2
  from transformers import pipeline
3
 
4
  # Load the model using Hugging Face's pipeline
5
+ model_name = "quocviethere/xlmroberta-finetuned-squadv2"
6
  qa_pipeline = pipeline('question-answering', model=model_name)
7
 
8
  # Define a function that the interface will use