fd
Browse files- app.py +1 -0
- logs/sentence_analyzer_2024-12-02.log +10 -0
app.py
CHANGED
@@ -28,6 +28,7 @@ def gpu_decorator(func):
|
|
28 |
|
29 |
# Importando a nova API F5TTS
|
30 |
from f5_tts.api import F5TTS
|
|
|
31 |
|
32 |
import os
|
33 |
from huggingface_hub import hf_hub_download
|
|
|
28 |
|
29 |
# Importando a nova API F5TTS
|
30 |
from f5_tts.api import F5TTS
|
31 |
+
from f5_tts.infer.utils_infer import preprocess_ref_audio_text
|
32 |
|
33 |
import os
|
34 |
from huggingface_hub import hf_hub_download
|
logs/sentence_analyzer_2024-12-02.log
CHANGED
@@ -1,2 +1,12 @@
|
|
1 |
2024-12-02 18:27:53,692 - SentenceAnalyzer - DEBUG - Logger set up successfully
|
2 |
2024-12-02 18:27:53,692 - SentenceAnalyzer - INFO - SentenceAnalyzer initialized successfully
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
2024-12-02 18:27:53,692 - SentenceAnalyzer - DEBUG - Logger set up successfully
|
2 |
2024-12-02 18:27:53,692 - SentenceAnalyzer - INFO - SentenceAnalyzer initialized successfully
|
3 |
+
2024-12-02 19:01:14,376 - SentenceAnalyzer - DEBUG - Logger set up successfully
|
4 |
+
2024-12-02 19:01:14,376 - SentenceAnalyzer - INFO - SentenceAnalyzer initialized successfully
|
5 |
+
2024-12-02 19:03:00,743 - SentenceAnalyzer - DEBUG - Starting sentence splitting
|
6 |
+
2024-12-02 19:03:00,744 - SentenceAnalyzer - DEBUG - Normalized text using NFC
|
7 |
+
2024-12-02 19:03:00,744 - SentenceAnalyzer - DEBUG - Removed page numbers and chapter titles
|
8 |
+
2024-12-02 19:03:00,745 - SentenceAnalyzer - DEBUG - Replaced hyphenated line breaks
|
9 |
+
2024-12-02 19:03:00,745 - SentenceAnalyzer - DEBUG - Replaced multiple newlines with a space
|
10 |
+
2024-12-02 19:03:00,745 - SentenceAnalyzer - DEBUG - Normalized whitespace
|
11 |
+
2024-12-02 19:03:00,777 - SentenceAnalyzer - DEBUG - Split text into 1 sentences using NLTK
|
12 |
+
2024-12-02 19:03:00,778 - SentenceAnalyzer - INFO - Split text into 1 sentences after cleanup
|