Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def read_reviews_and_analyze_sentiment(file_object):
|
|
| 58 |
|
| 59 |
|
| 60 |
demo = gr.Interface(fn=read_reviews_and_analyze_sentiment,
|
| 61 |
-
inputs=[gr.File(file_types=["xlsx"], label="Upload your review comment file")],
|
| 62 |
outputs=[gr.Dataframe(label="Sentiments"), gr.Plot(label="Sentiment Analysis")],
|
| 63 |
title="Sentiment Analyzer",
|
| 64 |
description="THIS APPLICATION WILL BE USED TO ANALYZE THE SENTIMENT BASED ON FILE UPLAODED.")
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
demo = gr.Interface(fn=read_reviews_and_analyze_sentiment,
|
| 61 |
+
inputs=[gr.File(file_types=["xlsx"],["csv"] label="Upload your review comment file")],
|
| 62 |
outputs=[gr.Dataframe(label="Sentiments"), gr.Plot(label="Sentiment Analysis")],
|
| 63 |
title="Sentiment Analyzer",
|
| 64 |
description="THIS APPLICATION WILL BE USED TO ANALYZE THE SENTIMENT BASED ON FILE UPLAODED.")
|