Spaces:
Runtime error
Runtime error
fix typo
Browse files
main.py
CHANGED
@@ -90,12 +90,12 @@ async def render_job_neighborhoods(request: Request):
|
|
90 |
|
91 |
### find my match ###
|
92 |
# get
|
93 |
-
@app.get("/find-my-match", response_class=HTMLResponse)
|
94 |
async def match_page(request: Request):
|
95 |
return templates.TemplateResponse('find_my_match.html', context={'request': request})
|
96 |
|
97 |
# post
|
98 |
-
@app.post('/find-my-match', response_class=HTMLResponse)
|
99 |
def get_resume(request: Request, resume: UploadFile = File(...)):
|
100 |
path = f"static/{resume.filename}"
|
101 |
with open(path, 'wb') as buffer:
|
|
|
90 |
|
91 |
### find my match ###
|
92 |
# get
|
93 |
+
@app.get("/find-my-match/", response_class=HTMLResponse)
|
94 |
async def match_page(request: Request):
|
95 |
return templates.TemplateResponse('find_my_match.html', context={'request': request})
|
96 |
|
97 |
# post
|
98 |
+
@app.post('/find-my-match/', response_class=HTMLResponse)
|
99 |
def get_resume(request: Request, resume: UploadFile = File(...)):
|
100 |
path = f"static/{resume.filename}"
|
101 |
with open(path, 'wb') as buffer:
|