Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ def update_dimensions_on_upload(image):
|
|
| 146 |
|
| 147 |
return new_width, new_height
|
| 148 |
|
| 149 |
-
@spaces.GPU
|
| 150 |
def infer(
|
| 151 |
input_image,
|
| 152 |
prompt,
|
|
@@ -193,7 +193,7 @@ def infer(
|
|
| 193 |
|
| 194 |
return result, seed
|
| 195 |
|
| 196 |
-
@spaces.GPU
|
| 197 |
def infer_example(input_image, prompt, lora_adapter):
|
| 198 |
input_pil = input_image.convert("RGB")
|
| 199 |
guidance_scale = 1.0
|
|
|
|
| 146 |
|
| 147 |
return new_width, new_height
|
| 148 |
|
| 149 |
+
@spaces.GPU(duration=30)
|
| 150 |
def infer(
|
| 151 |
input_image,
|
| 152 |
prompt,
|
|
|
|
| 193 |
|
| 194 |
return result, seed
|
| 195 |
|
| 196 |
+
@spaces.GPU(duration=30)
|
| 197 |
def infer_example(input_image, prompt, lora_adapter):
|
| 198 |
input_pil = input_image.convert("RGB")
|
| 199 |
guidance_scale = 1.0
|