Skip to content

Commit af0bbf5

Browse files
committed
Lint
1 parent fa1019e commit af0bbf5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

modules/ui_model_menu.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def create_ui():
173173
ui.create_refresh_button(shared.gradio['customized_template'], lambda: None, lambda: {'choices': utils.get_available_instruction_templates()}, 'refresh-button', interactive=not mu)
174174

175175
shared.gradio['customized_template_submit'] = gr.Button("Submit", variant="primary", interactive=not mu)
176-
gr.Markdown("This allows you to set a customized template for the model currently selected in the \"Model loader\" menu. Whenver the model gets loaded, this template will be used in place of the template specified in the model's medatada, which sometimes is wrong.")
176+
gr.Markdown("This allows you to set a customized template for the model currently selected in the \"Model loader\" menu. Whenever the model gets loaded, this template will be used in place of the template specified in the model's medatada, which sometimes is wrong.")
177177

178178
with gr.Row():
179179
shared.gradio['model_status'] = gr.Markdown('No model is loaded' if shared.model_name == 'None' else 'Ready')
@@ -331,7 +331,3 @@ def update_truncation_length(current_length, state):
331331
return state['n_ctx']
332332

333333
return current_length
334-
335-
336-
def save_model_template(model, template):
337-
pass

0 commit comments

Comments
 (0)