From 12ac233a5bb65fb1b545d05f8634bbcc05ea8dbe Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Jul 2025 20:18:10 +0800 Subject: [PATCH] fix: import error --- python_core/audio_processing/__init__.py | 14 +--------- python_core/services/__init__.py | 33 +----------------------- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/python_core/audio_processing/__init__.py b/python_core/audio_processing/__init__.py index eac5e16..529d1aa 100644 --- a/python_core/audio_processing/__init__.py +++ b/python_core/audio_processing/__init__.py @@ -5,16 +5,4 @@ Audio Processing Module Handles audio editing, rhythm detection, and audio effects using Librosa, Pydub, and other audio libraries. """ -from .core import AudioProcessor -from .rhythm_detection import RhythmDetector -from .audio_effects import AudioEffects -from .voice_separation import VoiceSeparator -from .tts import TextToSpeech - -__all__ = [ - "AudioProcessor", - "RhythmDetector", - "AudioEffects", - "VoiceSeparator", - "TextToSpeech" -] +__all__ = [] diff --git a/python_core/services/__init__.py b/python_core/services/__init__.py index a94d3a5..937025f 100644 --- a/python_core/services/__init__.py +++ b/python_core/services/__init__.py @@ -5,35 +5,4 @@ Services Module Provides background services, file management, and task queue functionality. """ -try: - from .file_manager import FileManager -except ImportError: - FileManager = None - -try: - from .task_queue import TaskQueue -except ImportError: - TaskQueue = None - -try: - from .project_manager import ProjectManager -except ImportError: - ProjectManager = None - -try: - from .cache_manager import CacheManager -except ImportError: - CacheManager = None - -try: - from .template_manager import TemplateManager -except ImportError: - TemplateManager = None - -__all__ = [ - "FileManager", - "TaskQueue", - "ProjectManager", - "CacheManager", - "TemplateManager" -] +__all__ = []