stable-diffusion
copied
Friday
1 year ago
2 changed files with 5 additions and 6 deletions
@ -1,5 +1,4 @@ |
|||||
from diffusers import StableDiffusionPipeline,DPMSolverMultistepSchedule |
|
||||
from towhee.operator import PyOperator |
|
||||
|
from Stable_diff_text2image import StableDiffusion |
||||
|
|
||||
def stablediffusion(*args,**kwargs): |
|
||||
return image |
|
||||
|
def text2image(*args,**kwargs): |
||||
|
return StableDiffusion(*args,**kwargs) |
Loading…
Reference in new issue