Spaces:
Runtime error
Runtime error
Update app/routes.py
Browse files- app/routes.py +0 -11
app/routes.py
CHANGED
|
@@ -34,17 +34,6 @@ auth = Blueprint('auth', __name__)
|
|
| 34 |
def landing():
|
| 35 |
return render_template('landing.html')
|
| 36 |
|
| 37 |
-
@auth.route('/embed', methods=['POST'])
|
| 38 |
-
def embed():
|
| 39 |
-
data = request.json
|
| 40 |
-
text = data.get("text", "")
|
| 41 |
-
return jsonify({"embedding": [0.1, 0.2, 0.3]}) # Dummy
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
|
| 49 |
@api.route('/rank-resumes', methods=['POST'])
|
| 50 |
def rank_resumes():
|
|
|
|
| 34 |
def landing():
|
| 35 |
return render_template('landing.html')
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
@api.route('/rank-resumes', methods=['POST'])
|
| 39 |
def rank_resumes():
|