MAli7319 commited on
Commit
93a3399
·
1 Parent(s): 970dfe5

Update comment_analyzer.py

Browse files
Files changed (1) hide show
  1. comment_analyzer.py +3 -3
comment_analyzer.py CHANGED
@@ -66,9 +66,9 @@ with gr.Blocks() as demo:
66
  posscore = gr.Number(label="Positivity Score")
67
  compscore = gr.Number(label="Compound Score")
68
  gr.Examples(
69
- examples=[["One of the best course I have ever taken",
70
- "Not very impressive, definitions are not detailed enough, instructor is decent",
71
- "Terrible presentation of knowledge, i can not convince you to take this course, waste of time"]],
72
  [input_comment],
73
  [[negscore, neuscore, posscore, compscore, rating]],
74
  fn=take_input
 
66
  posscore = gr.Number(label="Positivity Score")
67
  compscore = gr.Number(label="Compound Score")
68
  gr.Examples(
69
+ [["Totally enjoyed this course. Learnt whole new dimension of data science and its attributes",
70
+ "The bad part of the course is that it doesn't get a person into the logics of some things right away or even doesn't get into them at all.",
71
+ "Not for the beginners very difficult to understand i gain nothing from this course i watch videos again and again but nothing fits in my mind"]],
72
  [input_comment],
73
  [[negscore, neuscore, posscore, compscore, rating]],
74
  fn=take_input