Omnibus commited on
Commit
25bbd1e
·
1 Parent(s): 0533273

Update diffusion.py

Browse files
Files changed (1) hide show
  1. diffusion.py +1 -1
diffusion.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def gen_image(prompt,model_name,count = 1):
4
  proc=gr.load(f"models/{model_name}")
5
  t=0
6
  output_list=[]
 
1
  import gradio as gr
2
 
3
+ def gen_image(prompt,model_name="dreamlike-art/dreamlike-photoreal-2.0",count = 1):
4
  proc=gr.load(f"models/{model_name}")
5
  t=0
6
  output_list=[]