Lisandro commited on
Commit
d8c88bb
1 Parent(s): 4d4e4ab

como las tuplas son inmutables hay que crear una nueva

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- return result
 
 
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