Spaces:
Sleeping
Sleeping
Update app.py (#13)
Browse files- Update app.py (2a9ba6e5469f16a27da1e0e947f9d315695b7dad)
Co-authored-by: David Rodriguez <[email protected]>
app.py
CHANGED
@@ -178,7 +178,9 @@ custom_rag_prompt = ChatPromptTemplate.from_template(template)
|
|
178 |
|
179 |
|
180 |
llm = ChatOpenAI(
|
181 |
-
model_name="
|
|
|
|
|
182 |
temperature=0.2)
|
183 |
|
184 |
|
|
|
178 |
|
179 |
|
180 |
llm = ChatOpenAI(
|
181 |
+
model_name="hf:mistralai/Mixtral-8x7B-Instruct-v0.1",
|
182 |
+
api_key = os.environ.get('GLHF_API_KEY')
|
183 |
+
base_url = 'https://glhf.chat/api/openai/v1',
|
184 |
temperature=0.2)
|
185 |
|
186 |
|