apolinario commited on
Commit
a17b7c9
1 Parent(s): c21f330

latent fix

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,10 +8,8 @@ rudalle = gr.Interface.load("spaces/multimodalart/rudalle")
8
  print(rudalle)
9
  guided = gr.Interface.load("spaces/EleutherAI/clip-guided-diffusion")
10
  print(guided)
11
- def text2image_latent(which_tab,text,steps,width,height,images,diversity):
12
- print(which_tab)
13
  image = latent(text, steps, width, height, images, diversity)[0]
14
-
15
  return(image)
16
 
17
  def text2image_rudalle(text,aspect,model):
 
8
  print(rudalle)
9
  guided = gr.Interface.load("spaces/EleutherAI/clip-guided-diffusion")
10
  print(guided)
11
+ def text2image_latent(text,steps,width,height,images,diversity):
 
12
  image = latent(text, steps, width, height, images, diversity)[0]
 
13
  return(image)
14
 
15
  def text2image_rudalle(text,aspect,model):