Geek7 commited on
Commit
b344955
1 Parent(s): d028595

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import gradio as gr
2
  from diffusers import DiffusionPipeline
 
 
3
 
4
  # Load the diffusion model
5
- pipe = DiffusionPipeline.from_pretrained("ByteDance/SDXL-Lightning")
6
 
7
  def generate_image(prompt):
8
  # Generate the image based on the prompt
 
1
  import gradio as gr
2
  from diffusers import DiffusionPipeline
3
+ import os
4
+ os.environ['HF_HOME'] = '/blabla/cache/'
5
 
6
  # Load the diffusion model
7
+ pipe = DiffusionPipeline.from_pretrained("SG161222/RealVisXL_V5.0")
8
 
9
  def generate_image(prompt):
10
  # Generate the image based on the prompt