Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ pipe = pipeline("question-answering")
|
|
| 6 |
|
| 7 |
def get_sentiment(question, context):
|
| 8 |
answer = pipe(question=question, context="i am genuis")
|
| 9 |
-
return answer
|
| 10 |
|
| 11 |
iface = gr.Interface(fn = get_sentiment,
|
| 12 |
inputs = "text",
|
|
|
|
| 6 |
|
| 7 |
def get_sentiment(question, context):
|
| 8 |
answer = pipe(question=question, context="i am genuis")
|
| 9 |
+
return answer
|
| 10 |
|
| 11 |
iface = gr.Interface(fn = get_sentiment,
|
| 12 |
inputs = "text",
|