Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,8 +96,9 @@ def detect_onnx_models(path):
|
|
| 96 |
else:
|
| 97 |
return None
|
| 98 |
|
| 99 |
-
|
| 100 |
-
#@app.post("/
|
|
|
|
| 101 |
async def main(
|
| 102 |
request: Request,
|
| 103 |
text_input: str = Form(...),
|
|
|
|
| 96 |
else:
|
| 97 |
return None
|
| 98 |
|
| 99 |
+
#@app.post("/synthesize")
|
| 100 |
+
#@app.post("/", response_class=FileResponse)
|
| 101 |
+
@app.post("/", response_class=HTMLResponse)
|
| 102 |
async def main(
|
| 103 |
request: Request,
|
| 104 |
text_input: str = Form(...),
|