Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ model_description = {model['filename']: model['description'] for model in data_j
|
|
17 |
|
18 |
def llm_intro(selected_model):
|
19 |
html_string = model_description.get(selected_model, "No description available for this model selection.")
|
20 |
-
formatted_description = html_string.replace("<ul>", "").replace("</ul>", "").replace("<li>", "\n➤ ")
|
21 |
return formatted_description
|
22 |
|
23 |
model_cache = {} # Global cache
|
|
|
17 |
|
18 |
def llm_intro(selected_model):
|
19 |
html_string = model_description.get(selected_model, "No description available for this model selection.")
|
20 |
+
formatted_description = html_string.replace("<ul>", "").replace("</ul>", "").replace("</li>", "").replace("<br>", "\n").replace("</br>", "").replace("<li>", "\n➤ ")
|
21 |
return formatted_description
|
22 |
|
23 |
model_cache = {} # Global cache
|