aamirtaymoor commited on
Commit
4bb6e82
·
verified ·
1 Parent(s): db93d88

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -14,6 +14,7 @@ class TextRatingRequest(BaseModel):
14
  def read_root(text_rating: TextRatingRequest):
15
  text = text_rating.text
16
  rating = text_rating.rating
 
17
  raw_data = {"text": text, "star_rating": rating, "skip": skip}
18
  # processed_data = get_review_sentiment(raw_data)
19
  ml = MlProcessing(comment_dict=raw_data)
 
14
  def read_root(text_rating: TextRatingRequest):
15
  text = text_rating.text
16
  rating = text_rating.rating
17
+ skip = False
18
  raw_data = {"text": text, "star_rating": rating, "skip": skip}
19
  # processed_data = get_review_sentiment(raw_data)
20
  ml = MlProcessing(comment_dict=raw_data)