Spaces:
Runtime error
Runtime error
Saqib commited on
Update modules/app.py
Browse files116 unmodified lines117118119120121122123116 unmodified linesout_file = os.path.join(AUDIO_DIR, unique_filename)# Call the modal API with the request parameters and download the output filedata = await request.json()async with aiohttp.ClientSession() as session:async with session.get(f"{MODAL_BASE_URL}/get_audio", params=data) as response:if response.status != 200:116 unmodified lines117118119120121122123116 unmodified linesout_file = os.path.join(AUDIO_DIR, unique_filename)# Call the modal API with the request parameters and download the output filedata = request.query_paramsasync with aiohttp.ClientSession() as session:async with session.get(f"{MODAL_BASE_URL}/get_audio", params=data) as response:if response.status != 200:
modules/app.py+1-1