Spaces:
Runtime error
Runtime error
Zhouyan248
commited on
Commit
β’
5663642
1
Parent(s):
dd310fc
Update sample_scripts/with_mask_sample.py
Browse files
sample_scripts/with_mask_sample.py
CHANGED
@@ -49,13 +49,6 @@ from utils import mask_generation_before
|
|
49 |
from natsort import natsorted
|
50 |
from diffusers.utils.import_utils import is_xformers_available
|
51 |
|
52 |
-
|
53 |
-
doc = docx.Document("/mnt/petrelfs/zhouyan/tmp/ζι
ζ
θ‘.docx")
|
54 |
-
start = 1
|
55 |
-
p_dict = {}
|
56 |
-
for param in doc.paragraphs:
|
57 |
-
p_dict[start] = param.text
|
58 |
-
start = start+1
|
59 |
# def get_input(args):
|
60 |
def get_input(path,args):
|
61 |
input_path = path
|
|
|
49 |
from natsort import natsorted
|
50 |
from diffusers.utils.import_utils import is_xformers_available
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
# def get_input(args):
|
53 |
def get_input(path,args):
|
54 |
input_path = path
|