Komuravelli commited on
Commit
0f3b488
·
verified ·
1 Parent(s): 8fb6a65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.")