Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ cur_dir = Path(__file__).parent
|
|
| 20 |
load_dotenv()
|
| 21 |
|
| 22 |
|
| 23 |
-
client = AsyncClient()
|
| 24 |
|
| 25 |
|
| 26 |
async def transcribe(audio: tuple[int, np.ndarray], transcript: str):
|
|
|
|
| 20 |
load_dotenv()
|
| 21 |
|
| 22 |
|
| 23 |
+
client = AsyncClient(timeout=30)
|
| 24 |
|
| 25 |
|
| 26 |
async def transcribe(audio: tuple[int, np.ndarray], transcript: str):
|