Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
cb2b917
1
Parent(s):
9f22dc9
update
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import numpy as np
|
|
10 |
from PIL import Image
|
11 |
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline
|
12 |
|
13 |
-
import spaces
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
|
@@ -148,7 +148,7 @@ def run_for_examples(style_image, source_image, prompt, scale, control_scale):
|
|
148 |
neg_content_scale=0,
|
149 |
)
|
150 |
|
151 |
-
|
152 |
def create_image(image_pil,
|
153 |
input_image,
|
154 |
prompt,
|
|
|
10 |
from PIL import Image
|
11 |
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline
|
12 |
|
13 |
+
#import spaces
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
|
|
|
148 |
neg_content_scale=0,
|
149 |
)
|
150 |
|
151 |
+
#@spaces.GPU(enable_queue=True)
|
152 |
def create_image(image_pil,
|
153 |
input_image,
|
154 |
prompt,
|