Spaces:
Sleeping
Sleeping
Fix AOT compilation: use qr_text parameter instead of text_input
Browse files
app.py
CHANGED
|
@@ -434,7 +434,7 @@ def compile_models_with_aoti():
|
|
| 434 |
# Run minimal example to capture inputs
|
| 435 |
list(_pipeline_standard(
|
| 436 |
prompt=TEST_PROMPT,
|
| 437 |
-
|
| 438 |
input_type="URL",
|
| 439 |
image_size=512,
|
| 440 |
border_size=0,
|
|
@@ -469,7 +469,7 @@ def compile_models_with_aoti():
|
|
| 469 |
with aoti_capture(artistic_model.model.diffusion_model) as call:
|
| 470 |
list(_pipeline_artistic(
|
| 471 |
prompt=TEST_PROMPT,
|
| 472 |
-
|
| 473 |
input_type="URL",
|
| 474 |
image_size=640,
|
| 475 |
border_size=0,
|
|
|
|
| 434 |
# Run minimal example to capture inputs
|
| 435 |
list(_pipeline_standard(
|
| 436 |
prompt=TEST_PROMPT,
|
| 437 |
+
qr_text=TEST_TEXT,
|
| 438 |
input_type="URL",
|
| 439 |
image_size=512,
|
| 440 |
border_size=0,
|
|
|
|
| 469 |
with aoti_capture(artistic_model.model.diffusion_model) as call:
|
| 470 |
list(_pipeline_artistic(
|
| 471 |
prompt=TEST_PROMPT,
|
| 472 |
+
qr_text=TEST_TEXT,
|
| 473 |
input_type="URL",
|
| 474 |
image_size=640,
|
| 475 |
border_size=0,
|