From cb96ca132a3d19715c4e8b87a1c7e3f963f37fba Mon Sep 17 00:00:00 2001 From: Guoxin Sun Date: Mon, 10 Jun 2024 22:17:27 +0800 Subject: [PATCH] Update common.js (#1854) fix typo --- themes/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/common.js b/themes/common.js index ab39eac72..c219e8193 100644 --- a/themes/common.js +++ b/themes/common.js @@ -965,7 +965,7 @@ async function GptAcademicJavaScriptInit(dark, prompt, live2d, layout, tts) { if (getCookie("js_md_dropdown_cookie")) { const cached_model = getCookie("js_md_dropdown_cookie"); var model_sel = await get_gradio_component("elem_model_sel"); - // deterine whether the cached model is in the choices + // determine whether the cached model is in the choices if (model_sel.props.choices.includes(cached_model)){ // change dropdown gpt_academic_gradio_saveload("load", "elem_model_sel", "js_md_dropdown_cookie", null, "str");