alfredplpl commited on
Commit
c8c57a4
1 Parent(s): c59d86a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -32,6 +32,8 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
32
 
33
  @spaces.GPU
34
  def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
 
 
35
  if(prompt==""):
36
  conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, cherry blossom")
37
  else:
 
32
 
33
  @spaces.GPU
34
  def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
35
+ # ユーザーの著作権侵害を防ぐフィルター
36
+ prompt=prompt.replace("pokemon","")
37
  if(prompt==""):
38
  conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, cherry blossom")
39
  else: