amitu009 commited on
Commit
be32d2b
1 Parent(s): 7c52329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
 
5
  pipe = pipeline("question-answering", model="deepset/roberta-large-squad2")
6
 
7
- def get_sentiment(input_text, context):
8
  answer = pipe(question=input_text, context="i am genuis")
9
  return answer
10
 
 
4
 
5
  pipe = pipeline("question-answering", model="deepset/roberta-large-squad2")
6
 
7
+ def get_sentiment(input_text):
8
  answer = pipe(question=input_text, context="i am genuis")
9
  return answer
10