Gregniuki commited on
Commit
e149b71
·
1 Parent(s): 003c2f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -96,8 +96,9 @@ def detect_onnx_models(path):
96
  else:
97
  return None
98
 
99
- @app.post("/synthesize")
100
- #@app.post("/synthesize", response_class=FileResponse)
 
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(...),