wifix199 commited on
Commit
989332d
1 Parent(s): 7b16c66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -17,16 +17,6 @@ def chatbot(prompt):
17
  # Generate the image based on the user's input
18
  image = generate_image(prompt, unet)
19
  return image
20
-
21
- def get_aug_embed(self, text_embeds, image):
22
- if text_embeds is None:
23
- text_embeds = self.text_encoder(
24
- text_embeds=text_embeds,
25
- image=image,
26
- height=self.unet.config.sample_size,
27
- width=self.unet.config.sample_size,
28
- )
29
- return text_embeds
30
 
31
  # Create the Gradio interface
32
  interface = gr.Interface(
 
17
  # Generate the image based on the user's input
18
  image = generate_image(prompt, unet)
19
  return image
 
 
 
 
 
 
 
 
 
 
20
 
21
  # Create the Gradio interface
22
  interface = gr.Interface(