Spaces:
Runtime error
Runtime error
Commit
·
3a3df4a
1
Parent(s):
07492ce
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def ccogsphere(name: str, rate: str, celsci: str):
|
|
130 |
db.close()
|
131 |
try:
|
132 |
r = requests.post(url='https://ccml-persistent-data2.hf.space/api/predict/', json={"data": [celsci + " ", celsci2+List(celscix)]})
|
133 |
-
|
134 |
print ("CSV error")
|
135 |
return reviews, total_reviews
|
136 |
|
|
|
130 |
db.close()
|
131 |
try:
|
132 |
r = requests.post(url='https://ccml-persistent-data2.hf.space/api/predict/', json={"data": [celsci + " ", celsci2+List(celscix)]})
|
133 |
+
except:
|
134 |
print ("CSV error")
|
135 |
return reviews, total_reviews
|
136 |
|