deploy
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def temporary_files():
|
|
105 |
logger.warning(f"Failed to delete temporary file {path}: {str(e)}")
|
106 |
|
107 |
# Function to transcribe with a timeout
|
108 |
-
async def transcribe_with_timeout(audio, timeout=
|
109 |
loop = asyncio.get_event_loop()
|
110 |
|
111 |
def _transcribe():
|
|
|
105 |
logger.warning(f"Failed to delete temporary file {path}: {str(e)}")
|
106 |
|
107 |
# Function to transcribe with a timeout
|
108 |
+
async def transcribe_with_timeout(audio, timeout=120):
|
109 |
loop = asyncio.get_event_loop()
|
110 |
|
111 |
def _transcribe():
|