meetmendapara commited on
Commit
281f29a
·
1 Parent(s): 17fc44c

Add confidence score plot to the sentiment analysis UI

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -51,6 +51,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
51
  clear_btn = gr.Button("🧹 Clear")
52
  with gr.Column(scale=1):
53
  result_output = gr.Label(label="Predicted Sentiment")
 
54
 
55
  gr.Examples(
56
  examples=[
 
51
  clear_btn = gr.Button("🧹 Clear")
52
  with gr.Column(scale=1):
53
  result_output = gr.Label(label="Predicted Sentiment")
54
+ prob_plot = gr.Plot(label="Confidence Scores")
55
 
56
  gr.Examples(
57
  examples=[