Spaces:
Sleeping
Sleeping
Akhilgautam30
commited on
Commit
·
5a5ed00
1
Parent(s):
32d2b1b
sync
Browse files
main.py
CHANGED
@@ -16,7 +16,7 @@ async def root():
|
|
16 |
@app.get("/predict")
|
17 |
async def predict_personality_get(text: str):
|
18 |
try:
|
19 |
-
print("API get
|
20 |
predictions = predict_personality(text)
|
21 |
return {"predictions": predictions}
|
22 |
except NameError:
|
|
|
16 |
@app.get("/predict")
|
17 |
async def predict_personality_get(text: str):
|
18 |
try:
|
19 |
+
print("API get predic")
|
20 |
predictions = predict_personality(text)
|
21 |
return {"predictions": predictions}
|
22 |
except NameError:
|