You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/gradio/routes.py", line 395, in run_predict
output = await app.get_blocks().process_api(
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/gradio/blocks.py", line 1193, in process_api
result = await self.call_function(
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/gradio/blocks.py", line 930, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/home/perplexity/miniconda3/envs/textgen/lib/python3.10/site-packages/gradio/utils.py", line 491, in async_iteration
return next(iterator)
File "/home/perplexity/text-generation-webui/modules/chat.py", line 307, in generate_chat_reply_wrapper
forhistoryin generate_chat_reply(text, state, regenerate, _continue):
File "/home/perplexity/text-generation-webui/modules/chat.py", line 301, in generate_chat_reply
forhistoryin chatbot_wrapper(text, state, regenerate=regenerate, _continue=_continue):
File "/home/perplexity/text-generation-webui/modules/chat.py", line 193, in chatbot_wrapper
stopping_strings = get_stopping_strings(state)
File "/home/perplexity/text-generation-webui/modules/chat.py", line 128, in get_stopping_strings
state['turn_template'].split('<|user-message|>')[1].split('<|bot|>')[0] + '<|bot|>',
IndexError: list index out of range
System Info
Chrome, Latest Win11, Latest Commit
The text was updated successfully, but these errors were encountered:
You need to load an instruct template (Alpaca should be fine for most models) to fix this.
Chat Settings -> Instruction template
I think there's a bug right now where this isn't saved/loaded by default, causing an error because the code tries to insert something into an empty template.
Describe the bug
Can't seem to get it to work.
Is there an existing issue for this?
Reproduction
Use superbooga
Screenshot
No response
Logs
System Info
The text was updated successfully, but these errors were encountered: