jonathanagustin commited on
Commit
13ca98f
1 Parent(s): 4943f47

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -68,7 +68,6 @@ def tts(
68
 
69
  return temp_file_path
70
 
71
-
72
  def main():
73
  """
74
  Main function to create and launch the Gradio interface.
@@ -249,12 +248,7 @@ def main():
249
  :rtype: str
250
  """
251
  audio_file = tts(
252
- input_text,
253
- model.lower(),
254
- voice.lower(),
255
- api_key,
256
- response_format,
257
- speed,
258
  )
259
  return audio_file
260
 
@@ -275,6 +269,5 @@ def main():
275
  # Launch the Gradio app with error display enabled
276
  demo.launch(show_error=True)
277
 
278
-
279
  if __name__ == "__main__":
280
  main()
 
68
 
69
  return temp_file_path
70
 
 
71
  def main():
72
  """
73
  Main function to create and launch the Gradio interface.
 
248
  :rtype: str
249
  """
250
  audio_file = tts(
251
+ input_text, model.lower(), voice.lower(), api_key, response_format, speed
 
 
 
 
 
252
  )
253
  return audio_file
254
 
 
269
  # Launch the Gradio app with error display enabled
270
  demo.launch(show_error=True)
271
 
 
272
  if __name__ == "__main__":
273
  main()