Commit e9040775 authored by chenpangpang's avatar chenpangpang
Browse files

feat: 删除spaces依赖

parent 1df1993a
import spaces
import torch import torch
import torchvision.transforms.functional as TF import torchvision.transforms.functional as TF
import numpy as np import numpy as np
...@@ -79,7 +77,6 @@ pipe.fuse_lora() ...@@ -79,7 +77,6 @@ pipe.fuse_lora()
pipe.to(device) pipe.to(device)
@spaces.GPU()
def generate_image( def generate_image(
upload_images, upload_images,
prompt, prompt,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment