Upload folder using huggingface_hub
Browse files
introvert_extrovert_predictor.py
CHANGED
|
@@ -17,6 +17,7 @@ def home():
|
|
| 17 |
|
| 18 |
@app.post("/v1/personality/predict")
|
| 19 |
def predict_personality_single():
|
|
|
|
| 20 |
input_data = request.get_json()
|
| 21 |
|
| 22 |
# Prepare input sample
|
|
|
|
| 17 |
|
| 18 |
@app.post("/v1/personality/predict")
|
| 19 |
def predict_personality_single():
|
| 20 |
+
global api_hit_counter
|
| 21 |
input_data = request.get_json()
|
| 22 |
|
| 23 |
# Prepare input sample
|