lichorosario commited on
Commit
91ff99e
·
1 Parent(s): f1089d7

bugfix, era prompt_arr no prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def infer (selected_index, prompt, style_prompt, inf_steps, guidance_scale, widt
27
  client = Client("fffiloni/sd-xl-custom-model")
28
  prompt_arr = [trigger_word, prompt, style_prompt]
29
  # Filtrar elementos que no sean cadena vacía y luego unirlos
30
- prompt = '. '.join([element.strip() for element in prompt if element.strip() != ''])
31
 
32
  result = client.predict(
33
  custom_model=custom_model,
 
27
  client = Client("fffiloni/sd-xl-custom-model")
28
  prompt_arr = [trigger_word, prompt, style_prompt]
29
  # Filtrar elementos que no sean cadena vacía y luego unirlos
30
+ prompt = '. '.join([element.strip() for element in prompt_arr if element.strip() != ''])
31
 
32
  result = client.predict(
33
  custom_model=custom_model,