ruslanmv commited on
Commit
05a809a
·
verified ·
1 Parent(s): 37958d7

Update backend1.py

Browse files
Files changed (1) hide show
  1. backend1.py +1 -1
backend1.py CHANGED
@@ -32,7 +32,7 @@ import time
32
  import httpx
33
  # Text-to-speech clients
34
  client_1 = Client("ruslanmv/text-to-speech-fast")
35
- client_2 = Client("ruslanmv/Text-To-Speech", timeout=5) # Set timeout to 5 seconds
36
  client_3 = Client("ruslanmv/Text-to-Voice-Transformers")
37
  clients = [client_1, client_3,client_2]
38
  # Text-to-speech function with rate limiting, retry mechanism, and client rotation
 
32
  import httpx
33
  # Text-to-speech clients
34
  client_1 = Client("ruslanmv/text-to-speech-fast")
35
+ client_2 = Client("ruslanmv/Text-To-Speech") # Set timeout to 5 seconds
36
  client_3 = Client("ruslanmv/Text-to-Voice-Transformers")
37
  clients = [client_1, client_3,client_2]
38
  # Text-to-speech function with rate limiting, retry mechanism, and client rotation