mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-09 13:58:14 -05:00
...
This commit is contained in:
10
app.py
10
app.py
@@ -1,14 +1,12 @@
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore", category=SyntaxWarning)
|
||||
warnings.filterwarnings("ignore", category=UserWarning, module="jieba._compat")
|
||||
|
||||
import argparse, socket, multiprocessing, sys
|
||||
import argparse, socket, multiprocessing, sys, warnings
|
||||
|
||||
from lib.conf import *
|
||||
from lib.lang import default_language_code
|
||||
from lib.models import TTS_ENGINES, default_fine_tuned, default_engine_settings
|
||||
|
||||
warnings.filterwarnings("ignore", category=SyntaxWarning)
|
||||
warnings.filterwarnings("ignore", category=UserWarning, module="jieba._compat")
|
||||
|
||||
def init_multiprocessing():
|
||||
if sys.platform.startswith("darwin"):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user