Add model name
Browse files
app.py
CHANGED
|
@@ -42,7 +42,10 @@ def chat_cosmosllm(message: str, history: list, conversation_id: str, parent_mes
|
|
| 42 |
"Content-Type": "application/json"
|
| 43 |
}
|
| 44 |
|
| 45 |
-
body = {
|
|
|
|
|
|
|
|
|
|
| 46 |
body["conversation_id"] = conversation_id
|
| 47 |
|
| 48 |
if parent_message_id:
|
|
|
|
| 42 |
"Content-Type": "application/json"
|
| 43 |
}
|
| 44 |
|
| 45 |
+
body = {
|
| 46 |
+
"messages": messages,
|
| 47 |
+
"model_name": "ytu-ce-cosmos/Turkish-Llama-8b-DPO-v0.1"
|
| 48 |
+
}
|
| 49 |
body["conversation_id"] = conversation_id
|
| 50 |
|
| 51 |
if parent_message_id:
|