what's PROMPT_TEMPLATES

#5
by spark12x - opened

when duplicated a new one, will cause error
Exit code: 1. Reason: []
prompt_refiner_model used :meta-llama/Llama-3.1-8B-Instruct
Traceback (most recent call last):
File "/home/user/app/app.py", line 143, in
gradio_interface = GradioInterface(prompt_refiner, custom_css)
File "/home/user/app/app.py", line 28, in init
value=metaprompt_list[0],
IndexError: list index out of range

i restructure code, please try again

still get the error, I just fill the HF_API_TOKEN when do the duplicate, do I need to fill the PROMPT_TEMPLATES and prompt_refiner_model?

runtime error
Exit code: 1. Reason: []
prompt_refiner_model used :meta-llama/Llama-3.1-8B-Instruct
Traceback (most recent call last):
File "/home/user/app/app.py", line 165, in
gradio_interface = GradioInterface(prompt_refiner, custom_css)
File "/home/user/app/app.py", line 29, in init
value=metaprompt_list[0],
IndexError: list index out of range

baconnier changed discussion status to closed

Sign up or log in to comment