Update app.py
Browse files
app.py
CHANGED
@@ -17,14 +17,14 @@ iface = gr.Interface(
|
|
17 |
fn=analyze_sentiment,
|
18 |
inputs=gr.Textbox(
|
19 |
lines=5,
|
20 |
-
placeholder="Enter a
|
21 |
-
label="
|
22 |
),
|
23 |
outputs=[
|
24 |
gr.Textbox(label="Sentiment"),
|
25 |
gr.Textbox(label="Confidence")
|
26 |
],
|
27 |
-
title="
|
28 |
description="Analyze the sentiment of movie reviews using a fine-tuned RoBERTa model.",
|
29 |
examples=[
|
30 |
["I loved the cinematography and the story was captivating."],
|
|
|
17 |
fn=analyze_sentiment,
|
18 |
inputs=gr.Textbox(
|
19 |
lines=5,
|
20 |
+
placeholder="Enter a review here...",
|
21 |
+
label="Review"
|
22 |
),
|
23 |
outputs=[
|
24 |
gr.Textbox(label="Sentiment"),
|
25 |
gr.Textbox(label="Confidence")
|
26 |
],
|
27 |
+
title="Sentiment Analysis",
|
28 |
description="Analyze the sentiment of movie reviews using a fine-tuned RoBERTa model.",
|
29 |
examples=[
|
30 |
["I loved the cinematography and the story was captivating."],
|