* chores

* ...

* Add files via upload

* ...

* remove gradio warnings

* Update inference_webui.py

Fix inference_cli issue
This commit is contained in:
XXXXRT666
2024-08-23 17:47:27 +08:00
committed by GitHub
parent 2a9512a63e
commit 7dac47ca95
7 changed files with 34 additions and 6 deletions

View File

@@ -23,6 +23,11 @@ logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
import pdb
import torch
try:
import gradio.analytics as analytics
analytics.version_check = lambda:None
except:...
infer_ttswebui = os.environ.get("infer_ttswebui", 9872)
infer_ttswebui = int(infer_ttswebui)