-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
Did a git pull today to get to the latest commit version. I read your reddit post about how you've managed to improve the performance of chatterbox using torch compile.
Unfortunately the openai api isn't working for me, looks like you did some refactorings and some import's messed up in the code. I can keep using the older commit for now but I was wondering if it's just me and whether you're aware of this issue...
logs
Sep 20 17:47:2
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: prediction = await anyio.to_thread.run_sync( # type: ignore
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: File "/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: return await get_async_backend().run_sync_in_worker_thread(
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: File "/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: return await future
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: File "/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: result = context.run(func, *args)
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: File "/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/gradio/utils.py", line 865, in wrapper
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: response = f(*args, **kwargs)
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: File "/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/tts_webui_extension/openai_tts_api/main.py", line 150, in test_api_with_open_ai
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: from .router import preset_adapter
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: ImportError: cannot import name 'preset_adapter' from 'tts_webui_extension.openai_tts_api.router' (/home/rohan/services/TTS-WebUI/installer_files/env/lib/python3.10/site-packages/tts_webui_extension/openai_tts_api/router.py)
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: {
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: type: 'status',
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: endpoint: '/open_ai_api_test_voice_preset',
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: fn_index: 197,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: time: 2025-09-20T12:17:26.996Z,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: original_msg: undefined,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: queue: true,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: message: null,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: visible: undefined,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: duration: undefined,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: stage: 'error',
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: code: undefined,
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: success: false
Sep 20 17:47:26 rohan-desktop-2 start_tts_webui.sh[2063320]: }
rsxdalv
Metadata
Metadata
Assignees
Labels
No labels