Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ async def main(
|
|
| 248 |
|
| 249 |
# return {"message": f"Text to synthesize: {text_input}, Speed: {speed_slider}, Play: {play}"}
|
| 250 |
|
| 251 |
-
@app.get("/download
|
| 252 |
async def download_file(fileId: str):
|
| 253 |
# Retrieve the file path from the dictionary using the file ID
|
| 254 |
filepath = files.get(fileId)
|
|
|
|
| 248 |
|
| 249 |
# return {"message": f"Text to synthesize: {text_input}, Speed: {speed_slider}, Play: {play}"}
|
| 250 |
|
| 251 |
+
@app.get("/download")
|
| 252 |
async def download_file(fileId: str):
|
| 253 |
# Retrieve the file path from the dictionary using the file ID
|
| 254 |
filepath = files.get(fileId)
|