Gregniuki commited on
Commit
fae63ed
·
1 Parent(s): 682ed6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -117,11 +117,11 @@ renamed_audio_file = None
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(...),
124
- noise_scale_w_slider: float = Form(...),
125
  play: bool = Form(True)
126
  ):
127
  """Main entry point"""
 
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,
123
+ noise_scale_slider: float,
124
+ noise_scale_w_slider: float,
125
  play: bool = Form(True)
126
  ):
127
  """Main entry point"""