Update app.py
Browse files
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
|
| 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 |
|