mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
root = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
sys.path.append(root)
|
||||||
|
os.chdir(root)
|
||||||
|
|
||||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pygit2
|
import pygit2
|
||||||
|
|||||||
Reference in New Issue
Block a user