youssef1214 commited on
Commit
26928da
·
1 Parent(s): 4aaca9f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -38,7 +38,7 @@ def get_reviews(request : schemas.feedback):
38
 
39
  @app.get("/emotionCount")
40
  def getemotionCount():
41
- return {Database.emotioncount,"count":len(Database.allfeedbacks)}
42
  #Analysis
43
  @app.get('/CommonWords')
44
  def get_reviews():
 
38
 
39
  @app.get("/emotionCount")
40
  def getemotionCount():
41
+ return Database.emotioncount
42
  #Analysis
43
  @app.get('/CommonWords')
44
  def get_reviews():