Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'truncation_length_max' #18

Open
dazzling2019 opened this issue Sep 3, 2024 · 0 comments
Open

KeyError: 'truncation_length_max' #18

dazzling2019 opened this issue Sep 3, 2024 · 0 comments

Comments

@dazzling2019
Copy link

Do you know what could be causing this error in textgenui when I try to load the training pro extension Windows 11? I have reinstalled it from the latest repo with the same issue.

11:18:40-915414 INFO Starting Text generation web UI

Running on local URL: http://127.0.0.1:7860

Closing server running on port: 7860
11:18:56-034085 INFO Loading the extension "Training_PRO"
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ C:\Users\dazl1\Downloads\text-generation-webui-main\server.py:279 in │
│ │
│ 278 time.sleep(0.5) │
│ ❱ 279 create_interface() │
│ 280 │
│ │
│ C:\Users\dazl1\Downloads\text-generation-webui-main\server.py:165 in create_interface │
│ │
│ 164 │
│ ❱ 165 extensions_module.create_extensions_tabs() # Extensions tabs │
│ 166 extensions_module.create_extensions_block() # Extensions block │
│ │
│ C:\Users\dazl1\Downloads\text-generation-webui-main\modules\extensions.py:207 in create_extensions_tabs │
│ │
│ 206 with gr.Tab(display_name, elem_classes="extension-tab"): │
│ ❱ 207 extension.ui() │
│ 208 │
│ │
│ C:\Users\dazl1\Downloads\text-generation-webui-main\extensions\Training_PRO\script.py:244 in ui │
│ │
│ 243 with gr.Column(): │
│ ❱ 244 max_length = gr.Slider(label='max_length', minimum=0, maximum=sh │
│ 245 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'truncation_length_max'
Press any key to continue . . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant