Spaces:
Runtime error
Runtime error
Update app/routes.py
Browse files- app/routes.py +5 -2
app/routes.py
CHANGED
|
@@ -30,11 +30,14 @@ auth = Blueprint('auth', __name__)
|
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
return render_template('landing.html')
|
| 36 |
|
| 37 |
|
|
|
|
| 38 |
@api.route('/rank-resumes', methods=['POST'])
|
| 39 |
def rank_resumes():
|
| 40 |
# 1. Extract and validate API key
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
+
landing = Blueprint('landing', __name__)
|
| 34 |
+
|
| 35 |
+
@landing.route('/')
|
| 36 |
+
def landing_page():
|
| 37 |
return render_template('landing.html')
|
| 38 |
|
| 39 |
|
| 40 |
+
|
| 41 |
@api.route('/rank-resumes', methods=['POST'])
|
| 42 |
def rank_resumes():
|
| 43 |
# 1. Extract and validate API key
|