merve HF staff commited on
Commit
da323ae
1 Parent(s): 99ce383

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,11 +1,11 @@
1
  from huggingface_hub import from_pretrained_keras
2
- import keras_cv
3
  import gradio as gr
4
 
5
 
6
  # prepare model
7
  resolution = 512
8
- sd_dreambooth_model = keras_cv.models.StableDiffusion(
9
  img_width=resolution, img_height=resolution, jit_compile=True,
10
  )
11
  db_diffusion_model = from_pretrained_keras("merve/dreambooth_diffusion_model")
 
1
  from huggingface_hub import from_pretrained_keras
2
+ from keras_cv import models
3
  import gradio as gr
4
 
5
 
6
  # prepare model
7
  resolution = 512
8
+ sd_dreambooth_model = models.StableDiffusion(
9
  img_width=resolution, img_height=resolution, jit_compile=True,
10
  )
11
  db_diffusion_model = from_pretrained_keras("merve/dreambooth_diffusion_model")