Spaces:
Running
on
Zero
Running
on
Zero
Gamahea
commited on
Commit
·
1270cfb
1
Parent(s):
bba8617
Deploy Music Generation Studio - 2025-12-12 17:28
Browse files- backend/config/__init__.py +2 -1
- backend/routes/__init__.py +3 -4
- backend/services/__init__.py +7 -5
- backend/utils/__init__.py +3 -3
backend/config/__init__.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
"""Configuration package"""
|
| 2 |
-
|
| 3 |
|
| 4 |
__all__ = ['Config', 'config']
|
|
|
|
|
|
| 1 |
"""Configuration package"""
|
| 2 |
+
# Configuration is imported directly where needed
|
| 3 |
|
| 4 |
__all__ = ['Config', 'config']
|
| 5 |
+
|
backend/routes/__init__.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
"""Routes package"""
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
|
| 6 |
-
__all__ = ['generation_bp', 'timeline_bp', 'export_bp']
|
|
|
|
| 1 |
"""Routes package"""
|
| 2 |
+
# Routes are imported directly where needed
|
| 3 |
+
|
| 4 |
+
__all__ = ['generation_bp', 'timeline_bp', 'export_bp', 'mastering_bp']
|
| 5 |
|
|
|
backend/services/__init__.py
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
"""Services package"""
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
from .export_service import ExportService
|
| 5 |
-
from .fish_speech_service import FishSpeechService
|
| 6 |
|
| 7 |
__all__ = [
|
| 8 |
'DiffRhythmService',
|
| 9 |
'TimelineService',
|
| 10 |
'ExportService',
|
| 11 |
-
'FishSpeechService'
|
|
|
|
|
|
|
|
|
|
| 12 |
]
|
|
|
|
|
|
| 1 |
"""Services package"""
|
| 2 |
+
# Services are imported directly where needed to avoid circular dependencies
|
| 3 |
+
# and import path issues with sys.path manipulation
|
|
|
|
|
|
|
| 4 |
|
| 5 |
__all__ = [
|
| 6 |
'DiffRhythmService',
|
| 7 |
'TimelineService',
|
| 8 |
'ExportService',
|
| 9 |
+
'FishSpeechService',
|
| 10 |
+
'LyricMindService',
|
| 11 |
+
'MasteringService',
|
| 12 |
+
'StyleConsistencyService'
|
| 13 |
]
|
| 14 |
+
|
backend/utils/__init__.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
"""Utilities package"""
|
| 2 |
-
|
| 3 |
-
|
|
|
|
| 4 |
|
| 5 |
-
__all__ = ['setup_logger', 'validate_generation_params', 'validate_clip_data']
|
|
|
|
| 1 |
"""Utilities package"""
|
| 2 |
+
# Utilities are imported directly where needed
|
| 3 |
+
|
| 4 |
+
__all__ = ['setup_logger', 'validate_generation_params', 'validate_clip_data', 'prompt_analyzer', 'amd_gpu']
|
| 5 |
|
|
|