File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ document.getElementById('backendType').addEventListener('change', function() {
4
4
if ( this . value === 'LLM' ) {
5
5
llmInputCheckbox . style . display = 'flex' ;
6
6
} else {
7
+ var llmInputDiv = document . getElementById ( 'LLMInput' ) ;
8
+ var llmInputReset = document . getElementById ( 'LLMReset' ) ;
7
9
llmInputCheckbox . style . display = 'none' ;
10
+ llmInputDiv . style . display = 'none' ; // Hide the LLMInput div
11
+ llmInputReset . style . display = 'none' ;
8
12
}
9
13
} ) ;
10
14
Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ <h3>Input</h3>
36
36
< select id ="backendType " name ="backendType " required >
37
37
< option value ="REG "> REG</ option >
38
38
< option value ="LLM "> LLM</ option >
39
- <!-- < option value="NER">NER</option> -- >
39
+ < option value ="NER "> NER</ option >
40
40
</ select >
41
41
</ div >
42
42
< label class ="flex-item checkbox-label " id ="LLMcustomLabel "> < input type ="checkbox " id ="LLMcustom " name ="LLMcustom "> use custom settings</ label >
43
43
< div id ="LLMInput " class ="flex-container ">
44
44
< div class ="flex-item ">
45
- < input type ="text " name ="LLMURL " id ="inputLLMurl " placeholder ="e.g.: http://localhost:11434 "> </ input >
45
+ < input type ="text " name ="LLMURL " id ="inputLLMurl " placeholder ="http://localhost:11434 "> </ input >
46
46
</ div >
47
47
< div class ="flex-item ">
48
- < input type ="text " name ="LLMMODEL " id ="inputLLMmodel " placeholder ="e.g.: llama3.2:latest "> </ input >
48
+ < input type ="text " name ="LLMMODEL " id ="inputLLMmodel " placeholder ="llama3.2:latest "> </ input >
49
49
</ div >
50
50
< div id ="LLMReset " class ="flex-item ">
51
51
< button id ="btnLLMReset "type ="button "> Reset</ button >
You can’t perform that action at this time.
0 commit comments