Update infer-web.py

This commit is contained in:
RVC-Boss 2023-05-21 03:10:20 +00:00 committed by GitHub
parent 19cc9062b0
commit 28948f8961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1793 additions and 1792 deletions

View File

@ -23,6 +23,7 @@ from i18n import I18nAuto
import ffmpeg
i18n = I18nAuto()
i18n.print()
# 判断是否有能用来训练和加速推理的N卡
ngpu = torch.cuda.device_count()
gpu_infos = []