Update load_llms.py
Browse files- load_llms.py +2 -1
load_llms.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from gpt4all import GPT4All
|
2 |
from urllib.request import urlopen
|
3 |
import json
|
@@ -52,7 +53,7 @@ def format_html_string(html_string):
|
|
52 |
def llm_intro(selected_model):
|
53 |
html_string = model_description.get(selected_model, "No description available for this model selection.")
|
54 |
formatted_description = format_html_string(html_string)
|
55 |
-
return formatted_description
|
56 |
|
57 |
|
58 |
# cache models for faster reloads
|
|
|
1 |
+
import gradio as gr
|
2 |
from gpt4all import GPT4All
|
3 |
from urllib.request import urlopen
|
4 |
import json
|
|
|
53 |
def llm_intro(selected_model):
|
54 |
html_string = model_description.get(selected_model, "No description available for this model selection.")
|
55 |
formatted_description = format_html_string(html_string)
|
56 |
+
return gr.Markdown(formatted_description)
|
57 |
|
58 |
|
59 |
# cache models for faster reloads
|