Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Spycsh committed Dec 20, 2024
1 parent 96fed7e commit 7b91b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comps/tts/src/integrations/opea_speecht5_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def check_health(self, retries=3, interval=10, timeout=5) -> bool:
except requests.RequestException as e:
# Handle connection errors, timeouts, etc.
print(f"Health check failed: {e}")
num_trials -= 1
retries -= 1
time.sleep(interval)
return False

0 comments on commit 7b91b80

Please sign in to comment.