quocviethere commited on
Commit
33759e3
·
verified ·
1 Parent(s): 6389bbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 movie review here...",
21
- label="Movie Review"
22
  ),
23
  outputs=[
24
  gr.Textbox(label="Sentiment"),
25
  gr.Textbox(label="Confidence")
26
  ],
27
- title="IMDb Sentiment Analysis with RoBERTa",
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."],