Spaces:
Sleeping
Sleeping
Tolulope Ogunremi commited on
Commit ·
295a917
1
Parent(s): 4cce247
fixing imports
Browse files
app.py
CHANGED
|
@@ -47,9 +47,20 @@ install_private_package()
|
|
| 47 |
from speech_model_analysis import (
|
| 48 |
VoxCommunisPreprocessor,
|
| 49 |
MultiModelAnalyzer,
|
| 50 |
-
create_hubert_configs
|
| 51 |
)
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
print("Private package loaded successfully!")
|
| 54 |
|
| 55 |
# Initialize your analyzer
|
|
|
|
| 47 |
from speech_model_analysis import (
|
| 48 |
VoxCommunisPreprocessor,
|
| 49 |
MultiModelAnalyzer,
|
| 50 |
+
create_hubert_configs,
|
| 51 |
)
|
| 52 |
|
| 53 |
+
|
| 54 |
+
from speech_model_analysis.phoneme_manager import PHONEMES, index_to_phoneme
|
| 55 |
+
from speech_model_analysis.voxcommunis_preprocessing import VoxCommunisPreprocessor, create_hubert_configs
|
| 56 |
+
from speech_model_analysis.gradio_viz import ClusterVisualizer
|
| 57 |
+
from speech_model_analysis.enhanced_analysis import calculate_all_metrics
|
| 58 |
+
from speech_model_analysis.audio_player import ClusterAudioExplorer, create_audio_grid
|
| 59 |
+
from speech_model_analysis.embedding_projector_viz import EmbeddingProjectorViz
|
| 60 |
+
from speech_model_analysis.context_pooling import ContextConfig, ContextAwarePooler, ContextAwareAnalyzer
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
|
| 64 |
print("Private package loaded successfully!")
|
| 65 |
|
| 66 |
# Initialize your analyzer
|