Spaces:
Running
Running
Husnain
commited on
Commit
•
9e9f0fc
1
Parent(s):
56aa981
⚡ [Enhance] Use nous-mixtral-8x7b as default model
Browse files
examples/chat_with_openai.py
CHANGED
@@ -6,7 +6,7 @@ api_key = "sk-xxxxx"
|
|
6 |
|
7 |
client = OpenAI(base_url=base_url, api_key=api_key)
|
8 |
response = client.chat.completions.create(
|
9 |
-
model="mixtral-8x7b",
|
10 |
messages=[
|
11 |
{
|
12 |
"role": "user",
|
|
|
6 |
|
7 |
client = OpenAI(base_url=base_url, api_key=api_key)
|
8 |
response = client.chat.completions.create(
|
9 |
+
model="nous-mixtral-8x7b",
|
10 |
messages=[
|
11 |
{
|
12 |
"role": "user",
|