Spaces:
Sleeping
Sleeping
como las tuplas son inmutables hay que crear una nueva
Browse files
app.py
CHANGED
@@ -28,9 +28,10 @@ def infer (prompt, style_prompt, inf_steps, guidance_scale, width, height, seed,
|
|
28 |
lora_weight=lora_weight,
|
29 |
api_name="/infer"
|
30 |
)
|
31 |
-
result[2] = prompt
|
32 |
|
33 |
-
|
|
|
|
|
34 |
|
35 |
|
36 |
|
|
|
28 |
lora_weight=lora_weight,
|
29 |
api_name="/infer"
|
30 |
)
|
|
|
31 |
|
32 |
+
new_result = result + (prompt, )
|
33 |
+
|
34 |
+
return new_result
|
35 |
|
36 |
|
37 |
|