logo
Browse Source

Add requirements

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 1 year ago
parent
commit
0ed039695d
  1. BIN
      .DS_Store
  2. 1
      requirements.txt
  3. 2
      stable_diffusion.py

BIN
.DS_Store

Binary file not shown.

1
requirements.txt

@ -0,0 +1 @@
diffusers[torch]

2
stable_diffusion.py

@ -1,9 +1,7 @@
import logging
import torch
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
from towhee.operator import PyOperator
log = logging.getLogger(PyOperator)
class StableDiffusion(PyOperator):
def __init__(self,

Loading…
Cancel
Save