asyncio.get_event_loop() is deprecated in Python 3.10 and will be removed. Replace with asyncio.get_running_loop() at five call sites that all run inside async def functions where a running loop is guaranteed: two async_generate helpers in diffusion.py and three run_in_executor sites in routes/inference.py (audio synth, diffusion load, streaming chat). Addresses the gemini-code-assist bot review. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||