Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,10 +76,10 @@ def read_reviews_and_analyze_sentiment(file_object):
|
|
76 |
gr.close_all()
|
77 |
demo = gr.Interface(
|
78 |
fn=read_reviews_and_analyze_sentiment,
|
79 |
-
inputs=gr.File(file_types=['.xlsx','csv'], label='Upload your review comment file'),
|
80 |
outputs=[gr.Dataframe(label='Sentiments'), gr.Plot(label='Sentiment Analysis')],
|
81 |
title='KS Sentiment Analyzer',
|
82 |
-
description='This application will classify the sentiment of reviews based on an uploaded Excel file. The file must contain a column named "Reviews".'
|
83 |
)
|
84 |
|
85 |
demo.launch(share=True)
|
|
|
76 |
gr.close_all()
|
77 |
demo = gr.Interface(
|
78 |
fn=read_reviews_and_analyze_sentiment,
|
79 |
+
inputs=gr.File(file_types=['.xlsx','.csv'], label='Upload your review comment file'),
|
80 |
outputs=[gr.Dataframe(label='Sentiments'), gr.Plot(label='Sentiment Analysis')],
|
81 |
title='KS Sentiment Analyzer',
|
82 |
+
description='This application will classify the sentiment of reviews based on an uploaded Excel or CSV file. The file must contain a column named "Reviews".'
|
83 |
)
|
84 |
|
85 |
demo.launch(share=True)
|