Spaces:
Sleeping
Sleeping
add orion
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ hf_client = InferenceClient(api_key=HF_TOKEN)
|
|
31 |
# Function to process message and get response
|
32 |
async def get_ai_response(message_content):
|
33 |
try:
|
34 |
-
messages = [{"role": "user", "content": message_content}]
|
35 |
response = ""
|
36 |
stream = hf_client.chat.completions.create(
|
37 |
model="Qwen/Qwen2.5-72B-Instruct",
|
|
|
31 |
# Function to process message and get response
|
32 |
async def get_ai_response(message_content):
|
33 |
try:
|
34 |
+
messages = [{ "role": "system", "content": "tu es \"orion\" une ia crée par ethan " },{"role": "user", "content": message_content}]
|
35 |
response = ""
|
36 |
stream = hf_client.chat.completions.create(
|
37 |
model="Qwen/Qwen2.5-72B-Instruct",
|