Spaces:
Runtime error
Runtime error
Commit ·
681dada
1
Parent(s): 466964a
update
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from diffusers import (
|
|
| 11 |
UNet2DConditionModel,
|
| 12 |
EulerDiscreteScheduler,
|
| 13 |
)
|
| 14 |
-
import spaces
|
| 15 |
import gradio as gr
|
| 16 |
from huggingface_hub import hf_hub_download, snapshot_download
|
| 17 |
from ip_adapter import IPAdapterXL
|
|
@@ -169,7 +169,7 @@ def run_for_examples(style_image, source_image, prompt, scale, control_scale):
|
|
| 169 |
)
|
| 170 |
|
| 171 |
|
| 172 |
-
@spaces.GPU(enable_queue=True)
|
| 173 |
def create_image(
|
| 174 |
image_pil,
|
| 175 |
input_image,
|
|
|
|
| 11 |
UNet2DConditionModel,
|
| 12 |
EulerDiscreteScheduler,
|
| 13 |
)
|
| 14 |
+
#import spaces
|
| 15 |
import gradio as gr
|
| 16 |
from huggingface_hub import hf_hub_download, snapshot_download
|
| 17 |
from ip_adapter import IPAdapterXL
|
|
|
|
| 169 |
)
|
| 170 |
|
| 171 |
|
| 172 |
+
#@spaces.GPU(enable_queue=True)
|
| 173 |
def create_image(
|
| 174 |
image_pil,
|
| 175 |
input_image,
|
requirements.txt
CHANGED
|
@@ -5,7 +5,7 @@ transformers>=4.37.1
|
|
| 5 |
accelerate
|
| 6 |
safetensors
|
| 7 |
einops
|
| 8 |
-
spaces>=0.19.4
|
| 9 |
omegaconf
|
| 10 |
peft
|
| 11 |
huggingface-hub>=0.20.2
|
|
|
|
| 5 |
accelerate
|
| 6 |
safetensors
|
| 7 |
einops
|
| 8 |
+
#spaces>=0.19.4
|
| 9 |
omegaconf
|
| 10 |
peft
|
| 11 |
huggingface-hub>=0.20.2
|