Spaces:
Sleeping
Sleeping
victor commited on
Commit ·
221ea1a
1
Parent(s): 425c345
new line DESC
Browse files
app.py
CHANGED
|
@@ -17,7 +17,9 @@ def predict_sentiment(text):
|
|
| 17 |
|
| 18 |
# Gradio interface set-up
|
| 19 |
title = "Movie Review Sentiment Analysis"
|
| 20 |
-
description = ("Enter a movie review and find out whether it's Positive or Negative!"
|
|
|
|
|
|
|
| 21 |
review = gr.Textbox(lines=10, label="Enter your movie review here...")
|
| 22 |
prediction = gr.Textbox(label="Sentiment Label (Prediction)")
|
| 23 |
examples = [
|
|
|
|
| 17 |
|
| 18 |
# Gradio interface set-up
|
| 19 |
title = "Movie Review Sentiment Analysis"
|
| 20 |
+
description = ("Enter a movie review and find out whether it's Positive or Negative! "
|
| 21 |
+
"The fine-tuned distilbert-base-uncased model trained on the imdb dataset will try to classify your review.\n\n"
|
| 22 |
+
"Below are some examples you can try")
|
| 23 |
review = gr.Textbox(lines=10, label="Enter your movie review here...")
|
| 24 |
prediction = gr.Textbox(label="Sentiment Label (Prediction)")
|
| 25 |
examples = [
|