Amruthaa commited on
Commit
1e77da0
1 Parent(s): 6352c36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,10 +21,10 @@ def get_caption(img):
21
  return output[0]["generated_text"]
22
 
23
  # 4. Image Generation
24
- img_model = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
 
25
  def get_img(prompt):
26
  return img_model(prompt).images[0]
27
-
28
 
29
  demo = gr.Blocks()
30
  with demo:
 
21
  return output[0]["generated_text"]
22
 
23
  # 4. Image Generation
24
+ # img_model = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
25
+ img_model = DiffusionPipeline.from_pretrained("Linaqruf/anything-v3.0")
26
  def get_img(prompt):
27
  return img_model(prompt).images[0]
 
28
 
29
  demo = gr.Blocks()
30
  with demo: