amitu009 commited on
Commit
3f993ee
1 Parent(s): d993dfb

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
 
3
  from transformers import pipeline
4
 
5
- pipe = pipeline("question-answering")
6
 
7
  def get_sentiment(question, context):
8
  answer = pipe(question=question, context="i am genuis")
 
2
 
3
  from transformers import pipeline
4
 
5
+ pipe = pipeline("question-answering", model="deepset/roberta-large-squad2")
6
 
7
  def get_sentiment(question, context):
8
  answer = pipe(question=question, context="i am genuis")