Spaces:
Runtime error
Runtime error
Commit ·
558cecc
1
Parent(s): 868bbe3
update
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from diffusers import LCMScheduler, AutoencoderTiny, EulerDiscreteScheduler, UNe
|
|
| 10 |
from diffusers.models import ImageProjection
|
| 11 |
from patch_sdxl import SDEmb
|
| 12 |
import torch
|
| 13 |
-
import spaces
|
| 14 |
|
| 15 |
import random
|
| 16 |
import time
|
|
@@ -52,7 +52,7 @@ pipe.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-
|
|
| 52 |
output_hidden_state = False
|
| 53 |
#######################
|
| 54 |
|
| 55 |
-
@spaces.GPU
|
| 56 |
def predict(
|
| 57 |
prompt,
|
| 58 |
im_emb=None,
|
|
|
|
| 10 |
from diffusers.models import ImageProjection
|
| 11 |
from patch_sdxl import SDEmb
|
| 12 |
import torch
|
| 13 |
+
#import spaces
|
| 14 |
|
| 15 |
import random
|
| 16 |
import time
|
|
|
|
| 52 |
output_hidden_state = False
|
| 53 |
#######################
|
| 54 |
|
| 55 |
+
#@spaces.GPU
|
| 56 |
def predict(
|
| 57 |
prompt,
|
| 58 |
im_emb=None,
|