Update load_llms.py
Browse files- load_llms.py +5 -1
load_llms.py
CHANGED
|
@@ -72,4 +72,8 @@ def load_model(model_name):
|
|
| 72 |
if model_name not in model_cache:
|
| 73 |
model = GPT4All(model_name)
|
| 74 |
model_cache[model_name] = model
|
| 75 |
-
return model_cache[model_name]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
if model_name not in model_cache:
|
| 73 |
model = GPT4All(model_name)
|
| 74 |
model_cache[model_name] = model
|
| 75 |
+
return model_cache[model_name]
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def show_image(img):
|
| 79 |
+
return img
|