Increase ASR timeout to 300s
This commit is contained in:
@@ -146,7 +146,7 @@ def transcribe_chunk_fish(chunk_path, api_key, start_offset_sec):
|
|||||||
},
|
},
|
||||||
method="POST",
|
method="POST",
|
||||||
)
|
)
|
||||||
with urllib.request.urlopen(req, timeout=120) as resp:
|
with urllib.request.urlopen(req, timeout=300) as resp:
|
||||||
data = json.loads(resp.read().decode())
|
data = json.loads(resp.read().decode())
|
||||||
|
|
||||||
# Adjust timestamps by the chunk's start offset
|
# Adjust timestamps by the chunk's start offset
|
||||||
|
|||||||
Reference in New Issue
Block a user