jonathanagustin commited on
Commit
286fb71
1 Parent(s): 13ca98f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -68,6 +68,7 @@ def tts(
68
 
69
  return temp_file_path
70
 
 
71
  def main():
72
  """
73
  Main function to create and launch the Gradio interface.
@@ -248,7 +249,12 @@ def main():
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,5 +275,6 @@ def main():
269
  # Launch the Gradio app with error display enabled
270
  demo.launch(show_error=True)
271
 
 
272
  if __name__ == "__main__":
273
  main()
 
68
 
69
  return temp_file_path
70
 
71
+
72
  def main():
73
  """
74
  Main function to create and launch the Gradio interface.
 
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
  # Launch the Gradio app with error display enabled
276
  demo.launch(show_error=True)
277
 
278
+
279
  if __name__ == "__main__":
280
  main()