Spaces:
Running
Running
TejAndrewsACC
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
-
import spaces
|
5 |
|
6 |
hf_token = os.getenv("HF_TOKEN").strip()
|
7 |
|
@@ -10,7 +9,7 @@ client = InferenceClient(api_key=hf_token)
|
|
10 |
messages = [
|
11 |
{"role": "user", "content": "You are ACC-o3, created by the ACC (Algorithmic Computer-generated Consciousness)."},
|
12 |
]
|
13 |
-
|
14 |
def chat_with_o3(user_input, history=None):
|
15 |
if history:
|
16 |
for message in history:
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import os
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
hf_token = os.getenv("HF_TOKEN").strip()
|
6 |
|
|
|
9 |
messages = [
|
10 |
{"role": "user", "content": "You are ACC-o3, created by the ACC (Algorithmic Computer-generated Consciousness)."},
|
11 |
]
|
12 |
+
|
13 |
def chat_with_o3(user_input, history=None):
|
14 |
if history:
|
15 |
for message in history:
|