Falln87 commited on
Commit
265cdf3
1 Parent(s): 9329946

Update app.py

Browse files

Removed " AutoPipeline," from line 3 to suppress error

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  from PIL import Image
3
- from diffusers import AutoPipeline, StableDiffusionPipeline, ControlNetModel, DDIMScheduler, LMSDiscreteScheduler, UNet2DConditionModel, DiffusionPipeline
4
  from diffusers.optimization import DDPMScheduler, DDPMSchedulerV2, PNDMScheduler
5
  from transformers import AutoModelForCausalLM, AutoTokenizer, AutoModelForSeq2SeqLM, LlamaTokenizerFast, LlamaForCausalLM
6
  from accelerate import Accelerator
 
1
  import streamlit as st
2
  from PIL import Image
3
+ from diffusers import StableDiffusionPipeline, ControlNetModel, DDIMScheduler, LMSDiscreteScheduler, UNet2DConditionModel, DiffusionPipeline
4
  from diffusers.optimization import DDPMScheduler, DDPMSchedulerV2, PNDMScheduler
5
  from transformers import AutoModelForCausalLM, AutoTokenizer, AutoModelForSeq2SeqLM, LlamaTokenizerFast, LlamaForCausalLM
6
  from accelerate import Accelerator