Spaces:
Sleeping
Sleeping
Update generator.py
Browse files- generator.py +1 -1
generator.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
from langchain_huggingface import ChatHuggingFace, HuggingFaceEndpoint
|
| 3 |
|
| 4 |
-
def load_llm(repo_id="
|
| 5 |
token = os.getenv("HUGGINGFACE_API_TOKEN")
|
| 6 |
|
| 7 |
# 1. Initialize the endpoint
|
|
|
|
| 1 |
import os
|
| 2 |
from langchain_huggingface import ChatHuggingFace, HuggingFaceEndpoint
|
| 3 |
|
| 4 |
+
def load_llm(repo_id="microsoft/Phi-3-mini-4k-instruct"):
|
| 5 |
token = os.getenv("HUGGINGFACE_API_TOKEN")
|
| 6 |
|
| 7 |
# 1. Initialize the endpoint
|