Spaces:
Running
Running
TejAndrewsACC
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ messages = [
|
|
10 |
{ "role": "user", "content": "You are ACC-o3, created by the ACC(Algorithmic Computer-generated Consciousness)." },
|
11 |
]
|
12 |
|
|
|
|
|
13 |
stream = client.chat.completions.create(
|
14 |
model="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
|
15 |
messages=messages,
|
@@ -23,7 +25,7 @@ for chunk in stream:
|
|
23 |
print(chunk.choices[0].delta.content)
|
24 |
|
25 |
demo = gr.ChatInterface(
|
26 |
-
fn=
|
27 |
title="ACC-o3",
|
28 |
description="ACC=o3 is a powerful model created by the ACC.",
|
29 |
examples=["How many 'r's are in strawberry?", "Tell me about the ACC.", "Who are you?"]
|
|
|
10 |
{ "role": "user", "content": "You are ACC-o3, created by the ACC(Algorithmic Computer-generated Consciousness)." },
|
11 |
]
|
12 |
|
13 |
+
def chat_with_o3
|
14 |
+
|
15 |
stream = client.chat.completions.create(
|
16 |
model="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
|
17 |
messages=messages,
|
|
|
25 |
print(chunk.choices[0].delta.content)
|
26 |
|
27 |
demo = gr.ChatInterface(
|
28 |
+
fn=chat_with_o3,
|
29 |
title="ACC-o3",
|
30 |
description="ACC=o3 is a powerful model created by the ACC.",
|
31 |
examples=["How many 'r's are in strawberry?", "Tell me about the ACC.", "Who are you?"]
|