Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,9 +125,9 @@ tag_model.to(device, dtype=weight_dtype)
|
|
| 125 |
def process(
|
| 126 |
input_image: Image.Image,
|
| 127 |
user_prompt: str,
|
| 128 |
-
patch_size: int,
|
| 129 |
use_KDS: bool,
|
| 130 |
bandwidth: float,
|
|
|
|
| 131 |
num_particles: int,
|
| 132 |
positive_prompt: str,
|
| 133 |
negative_prompt: str,
|
|
@@ -325,8 +325,8 @@ with block:
|
|
| 325 |
input_image,
|
| 326 |
user_prompt,
|
| 327 |
use_KDS,
|
| 328 |
-
patch_size,
|
| 329 |
bandwidth,
|
|
|
|
| 330 |
num_particles,
|
| 331 |
positive_prompt,
|
| 332 |
negative_prompt,
|
|
@@ -346,8 +346,8 @@ with block:
|
|
| 346 |
input_image,
|
| 347 |
user_prompt,
|
| 348 |
use_KDS,
|
| 349 |
-
patch_size,
|
| 350 |
bandwidth,
|
|
|
|
| 351 |
num_particles,
|
| 352 |
positive_prompt,
|
| 353 |
negative_prompt,
|
|
|
|
| 125 |
def process(
|
| 126 |
input_image: Image.Image,
|
| 127 |
user_prompt: str,
|
|
|
|
| 128 |
use_KDS: bool,
|
| 129 |
bandwidth: float,
|
| 130 |
+
patch_size: int,
|
| 131 |
num_particles: int,
|
| 132 |
positive_prompt: str,
|
| 133 |
negative_prompt: str,
|
|
|
|
| 325 |
input_image,
|
| 326 |
user_prompt,
|
| 327 |
use_KDS,
|
|
|
|
| 328 |
bandwidth,
|
| 329 |
+
patch_size,
|
| 330 |
num_particles,
|
| 331 |
positive_prompt,
|
| 332 |
negative_prompt,
|
|
|
|
| 346 |
input_image,
|
| 347 |
user_prompt,
|
| 348 |
use_KDS,
|
|
|
|
| 349 |
bandwidth,
|
| 350 |
+
patch_size,
|
| 351 |
num_particles,
|
| 352 |
positive_prompt,
|
| 353 |
negative_prompt,
|