Skip to content

Commit

Permalink
防止使用webui-start时出现该错误 'Library cudart is not initialized' (Akegarasu#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangdou1 authored Apr 1, 2023
1 parent 32ba324 commit 169002e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from modules.options import cmd_opts
from modules.ui import create_ui

os.environ['PATH'] = os.environ.get("PATH", "") + os.pathsep + os.getcwd() + r'\.venv\Lib\site-packages\torch\lib'

def ensure_output_dirs():
folders = ["outputs/save", "outputs/markdown"]
Expand Down

0 comments on commit 169002e

Please sign in to comment.