Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -84,7 +84,7 @@ async def optimize_resume(
|
|
84 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
85 |
|
86 |
# Add a route for serving the HTML file
|
87 |
-
@app.get("/
|
88 |
async def serve_resume_optimizer():
|
89 |
with open("static/resume-optimizer.html", "r") as file:
|
90 |
content = file.read()
|
|
|
84 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
85 |
|
86 |
# Add a route for serving the HTML file
|
87 |
+
@app.get("/", response_class=HTMLResponse)
|
88 |
async def serve_resume_optimizer():
|
89 |
with open("static/resume-optimizer.html", "r") as file:
|
90 |
content = file.read()
|