Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,10 @@ tts = IndexTTS2(model_dir="./checkpoints",
|
|
| 110 |
os.environ["PROCESSED_RESULTS"] = f"{os.getcwd()}/proprocess_results"
|
| 111 |
|
| 112 |
from lipsync import apply_lipsync
|
|
|
|
| 113 |
|
|
|
|
|
|
|
| 114 |
|
| 115 |
def split_subtitles_max_duration(
|
| 116 |
subtitles,
|
|
|
|
| 110 |
os.environ["PROCESSED_RESULTS"] = f"{os.getcwd()}/proprocess_results"
|
| 111 |
|
| 112 |
from lipsync import apply_lipsync
|
| 113 |
+
import logging
|
| 114 |
|
| 115 |
+
logging.getLogger("httpx").setLevel(logging.WARNING)
|
| 116 |
+
logging.getLogger("httpcore").setLevel(logging.WARNING)
|
| 117 |
|
| 118 |
def split_subtitles_max_duration(
|
| 119 |
subtitles,
|