Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,9 @@ tokenizer = AutoTokenizer.from_pretrained(model_path)
|
|
21 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
22 |
|
23 |
|
24 |
-
description = f"""# <h2 style="text-align: center;">
|
25 |
-
<p style="text-align: center;font-size:15px;">
|
|
|
26 |
"""
|
27 |
|
28 |
sample_reviews = [
|
@@ -124,4 +125,4 @@ with gr.Blocks() as demo:
|
|
124 |
inputs=file_output,
|
125 |
outputs=plots)
|
126 |
|
127 |
-
demo.launch(share=True)
|
|
|
21 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
22 |
|
23 |
|
24 |
+
description = f"""# <h2 style="text-align: center;"> EmotiScan Amazon Products Review</h2>
|
25 |
+
<p style="text-align: center;font-size:15px;"> (Placeholder description) Analysing Amazon product reviews...
|
26 |
+
Input a single review to predict sentiment or multiple from a text file.</p>
|
27 |
"""
|
28 |
|
29 |
sample_reviews = [
|
|
|
125 |
inputs=file_output,
|
126 |
outputs=plots)
|
127 |
|
128 |
+
demo.launch(share=True)
|