Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ async def load_chat(request: Request, id: str):
|
|
| 145 |
return templates.TemplateResponse("index.html", {"request": request, "user_id": id})
|
| 146 |
@app.get("/voice/{id}", response_class=HTMLResponse)
|
| 147 |
async def load_chat(request: Request, id: str):
|
| 148 |
-
return templates.TemplateResponse("
|
| 149 |
|
| 150 |
# Route to save chat history
|
| 151 |
@app.post("/hist/")
|
|
|
|
| 145 |
return templates.TemplateResponse("index.html", {"request": request, "user_id": id})
|
| 146 |
@app.get("/voice/{id}", response_class=HTMLResponse)
|
| 147 |
async def load_chat(request: Request, id: str):
|
| 148 |
+
return templates.TemplateResponse("voice.html", {"request": request, "user_id": id})
|
| 149 |
|
| 150 |
# Route to save chat history
|
| 151 |
@app.post("/hist/")
|