Update app.py
Browse files
app.py
CHANGED
|
@@ -6,5 +6,5 @@ pipe = pipeline("sentiment-analysis")
|
|
| 6 |
def get_sentiment(input):
|
| 7 |
return pipe(input)
|
| 8 |
|
| 9 |
-
demo = gr.Interface(fn=get_sentiment, inputs="text", outputs=["text"])
|
| 10 |
demo.launch()
|
|
|
|
| 6 |
def get_sentiment(input):
|
| 7 |
return pipe(input)
|
| 8 |
|
| 9 |
+
demo = gr.Interface(fn=get_sentiment, inputs="text", outputs=["text"],title="AI Workshop",description="Input a text and get a Positive/Negative sentiment")
|
| 10 |
demo.launch()
|