File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed
llm_router_web/web/anonymizer Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -117,17 +117,6 @@ def chat_message():
117117 algorithm = request .form .get ("algorithm" , "fast" )
118118 model_name = request .form .get ("model_name" , "" ).strip ()
119119
120- # If GenAI was chosen but no model supplied, inform the user.
121- if algorithm == "genai" and not model_name :
122- return render_template (
123- "chat_partial.html" ,
124- chat = "❌ GenAI selected but no model provided. Please select a model." ,
125- )
126-
127- print ("algorithm=" , algorithm )
128- print ("algorithm=" , algorithm )
129- print ("algorithm=" , algorithm )
130-
131120 payload = {
132121 "stream" : False ,
133122 "anonymize" : algorithm != "no_anno" ,
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ <h2>🔒 Text Anonymization</h2>
2121 class ="btn "
2222 style ="width:auto; ">
2323 < option value ="fast " selected > Fast Masking</ option >
24- < option value ="genai "> GenAI Anonymisation</ option >
25- < option value ="priv "> Priv Masker</ option >
2624 </ select >
2725
2826 < button type ="submit " class ="btn primary "> 🚀 Anonymize</ button >
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ <h2>💬 LLM‑Router Chat</h2>
2323 class ="btn "
2424 style ="width:auto; ">
2525 < option value ="fast " selected > Fast Masking</ option >
26- < option value ="genai "> GenAI Anonymisation</ option >
27- < option value ="priv "> Priv Masker</ option >
2826 < option value ="no_anno "> Dont anonymize</ option >
2927 </ select >
3028
You can’t perform that action at this time.
0 commit comments