Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -196,8 +196,8 @@ def infer_example(input_image_path, prompt, lora_adapter):
|
|
| 196 |
input_pil = Image.open(input_image_path).convert("RGB")
|
| 197 |
width, height = update_dimensions_on_upload(input_pil)
|
| 198 |
# Set default values for example inference
|
| 199 |
-
result, seed, _ = infer(input_pil, prompt, lora_adapter, 0, True, 1.0, 4, width, height)
|
| 200 |
-
return result, seed
|
| 201 |
|
| 202 |
# --- UI Layout ---
|
| 203 |
css="""
|
|
|
|
| 196 |
input_pil = Image.open(input_image_path).convert("RGB")
|
| 197 |
width, height = update_dimensions_on_upload(input_pil)
|
| 198 |
# Set default values for example inference
|
| 199 |
+
#result, seed, _ = infer(input_pil, prompt, lora_adapter, 0, True, 1.0, 4, width, height)
|
| 200 |
+
#return result, seed
|
| 201 |
|
| 202 |
# --- UI Layout ---
|
| 203 |
css="""
|