chenjgtea
commited on
Commit
•
8825975
1
Parent(s):
0bc3ceb
新增gpu模式下chattts代码
Browse files- web/app.py +3 -3
web/app.py
CHANGED
@@ -41,9 +41,9 @@ def init_chat(args):
|
|
41 |
if chat.load_models(source=source, local_path="D:\\chenjgspace\\ai-model\\chattts"):
|
42 |
print("Models loaded successfully.")
|
43 |
logger.info("Models loaded successfully.")
|
44 |
-
else:
|
45 |
-
|
46 |
-
|
47 |
|
48 |
|
49 |
def main(args):
|
|
|
41 |
if chat.load_models(source=source, local_path="D:\\chenjgspace\\ai-model\\chattts"):
|
42 |
print("Models loaded successfully.")
|
43 |
logger.info("Models loaded successfully.")
|
44 |
+
# else:
|
45 |
+
# logger.error("=========Models load failed.")
|
46 |
+
# sys.exit(1)
|
47 |
|
48 |
|
49 |
def main(args):
|