Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -174,6 +174,11 @@ async def serve_indic_tts():
|
|
| 174 |
content = file.read()
|
| 175 |
return HTMLResponse(content=content)
|
| 176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177 |
|
| 178 |
|
| 179 |
@app.get("/file-convert", response_class=HTMLResponse)
|
|
|
|
| 174 |
content = file.read()
|
| 175 |
return HTMLResponse(content=content)
|
| 176 |
|
| 177 |
+
@app.get("/presentation", response_class=HTMLResponse)
|
| 178 |
+
async def serve_indic_tts():
|
| 179 |
+
with open("static/presentation-agent.html", "r") as file:
|
| 180 |
+
content = file.read()
|
| 181 |
+
return HTMLResponse(content=content)
|
| 182 |
|
| 183 |
|
| 184 |
@app.get("/file-convert", response_class=HTMLResponse)
|