Spaces:
Runtime error
Runtime error
alfredplpl
commited on
Commit
•
e460ad9
1
Parent(s):
100549d
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
|
33 |
@spaces.GPU
|
34 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
35 |
# ユーザーの著作権侵害を防ぐフィルター
|
36 |
-
words=["pokemon", "pikachu", "mario", "genshin"]
|
37 |
for word in words:
|
38 |
prompt=prompt.replace(word,"")
|
39 |
if(prompt==""):
|
|
|
33 |
@spaces.GPU
|
34 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
35 |
# ユーザーの著作権侵害を防ぐフィルター
|
36 |
+
words=["pokemon", "pikachu", "picachu", "mario", "sonic", "genshin"]
|
37 |
for word in words:
|
38 |
prompt=prompt.replace(word,"")
|
39 |
if(prompt==""):
|