CognitiveScience commited on
Commit
77001b5
1 Parent(s): 438dc6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -77,6 +77,7 @@ def ccogsphere(name: str, rate: int, celsci: str):
77
  db.commit()
78
  reviews, total_reviews = get_latest_reviews(db)
79
  db.close()
 
80
  #demo.load()
81
  return reviews, total_reviews
82
 
 
77
  db.commit()
78
  reviews, total_reviews = get_latest_reviews(db)
79
  db.close()
80
+ r = requests.post(url='https://ccml-persistent-data2.hf.space/api/predict/', json={"data": [name,celsci]})
81
  #demo.load()
82
  return reviews, total_reviews
83