mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
fix bug
This commit is contained in:
@@ -424,7 +424,7 @@ def run_sync_streaming_inference(
|
||||
audios = []
|
||||
while True:
|
||||
try:
|
||||
result = user_data._completed_requests.get(timeout=20)
|
||||
result = user_data._completed_requests.get(timeout=200)
|
||||
if isinstance(result, InferenceServerException):
|
||||
print(f"Received InferenceServerException: {result}")
|
||||
return None, None, None, None
|
||||
|
||||
Reference in New Issue
Block a user