Yaron Koresh commited on
Commit
615d3b8
·
verified ·
1 Parent(s): dccc11d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -33,7 +33,7 @@ import gradio as gr
33
  from lxml.html import fromstring
34
  from huggingface_hub import hf_hub_download
35
  from safetensors.torch import load_file, save_file
36
- from diffusers import DiffusionPipeline
37
  from PIL import Image, ImageDraw, ImageFont
38
  from transformers import pipeline, T5ForConditionalGeneration, T5Tokenizer
39
  from refiners.fluxion.utils import manual_seed
@@ -616,7 +616,6 @@ def pipe_generate_image(p1,p2):
616
  progress=gr.Progress(track_tqdm=True),
617
  height=height,
618
  width=width,
619
- safety_checker=None,
620
  guidance_scale=img_accu,
621
  num_images_per_prompt=1,
622
  num_inference_steps=image_steps,
 
33
  from lxml.html import fromstring
34
  from huggingface_hub import hf_hub_download
35
  from safetensors.torch import load_file, save_file
36
+ from diffusers import DiffusionPipeline, AutoencoderTiny, AutoencoderKL
37
  from PIL import Image, ImageDraw, ImageFont
38
  from transformers import pipeline, T5ForConditionalGeneration, T5Tokenizer
39
  from refiners.fluxion.utils import manual_seed
 
616
  progress=gr.Progress(track_tqdm=True),
617
  height=height,
618
  width=width,
 
619
  guidance_scale=img_accu,
620
  num_images_per_prompt=1,
621
  num_inference_steps=image_steps,