Spaces:
Sleeping
Sleeping
Update api/main.py
Browse files- api/main.py +1 -1
api/main.py
CHANGED
|
@@ -1505,7 +1505,7 @@ if os.path.isdir(FRONTEND_DIR):
|
|
| 1505 |
|
| 1506 |
@app.get("/", response_class=HTMLResponse)
|
| 1507 |
async def serve_index():
|
| 1508 |
-
return HTMLResponse(content=_read_html("
|
| 1509 |
|
| 1510 |
@app.get("/chat-ui", response_class=HTMLResponse)
|
| 1511 |
async def serve_chat():
|
|
|
|
| 1505 |
|
| 1506 |
@app.get("/", response_class=HTMLResponse)
|
| 1507 |
async def serve_index():
|
| 1508 |
+
return HTMLResponse(content=_read_html("index.html"), status_code=200)
|
| 1509 |
|
| 1510 |
@app.get("/chat-ui", response_class=HTMLResponse)
|
| 1511 |
async def serve_chat():
|