Gregniuki commited on
Commit
19ca2c9
·
1 Parent(s): ed06f55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -25,7 +25,6 @@ from fastapi.staticfiles import StaticFiles
25
 
26
  import logging
27
 
28
- text_input = "1, 2, 3, 4, 5 this is an audio test."
29
 
30
  app = FastAPI()
31
  app.mount("/static", StaticFiles(directory="static"), name="static")
@@ -118,7 +117,7 @@ renamed_audio_file = None
118
  @app.post("/", response_class=HTMLResponse)
119
  async def main(
120
  request: Request,
121
- text_input: str = Form(...),
122
  speaker: str = Form(...),
123
  speed_slider: float = Form(...),
124
  noise_scale_slider: float = Form(...),
 
25
 
26
  import logging
27
 
 
28
 
29
  app = FastAPI()
30
  app.mount("/static", StaticFiles(directory="static"), name="static")
 
117
  @app.post("/", response_class=HTMLResponse)
118
  async def main(
119
  request: Request,
120
+ text_input: str = Form(...,, default="1, 2, 3. This is a test. Enter some text to generate."),
121
  speaker: str = Form(...),
122
  speed_slider: float = Form(...),
123
  noise_scale_slider: float = Form(...),