Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ client = openai.OpenAI(
|
|
| 9 |
base_url="https://api.together.xyz/v1",
|
| 10 |
)
|
| 11 |
|
| 12 |
-
def chat_completion
|
| 13 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 14 |
messages=[
|
| 15 |
{"role": "system", "content": system_content},
|
|
|
|
| 9 |
base_url="https://api.together.xyz/v1",
|
| 10 |
)
|
| 11 |
|
| 12 |
+
def chat_completion: client.chat.completions.create(
|
| 13 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 14 |
messages=[
|
| 15 |
{"role": "system", "content": system_content},
|