Spaces:
No application file
No application file
Update diffusion.py
Browse files- 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=[]
|