Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
hf_token = os.getenv("HF_TOKEN").strip()
|
6 |
api_key = os.getenv("HF_KEY").strip()
|
7 |
|
8 |
-
client = InferenceClient("
|
9 |
|
10 |
def respond(
|
11 |
message,
|
@@ -14,7 +14,23 @@ def respond(
|
|
14 |
temperature,
|
15 |
top_p,
|
16 |
):
|
17 |
-
system_message = "You are
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
messages = [{"role": "system", "content": system_message}]
|
19 |
|
20 |
for val in history:
|
|
|
5 |
hf_token = os.getenv("HF_TOKEN").strip()
|
6 |
api_key = os.getenv("HF_KEY").strip()
|
7 |
|
8 |
+
client = InferenceClient("deepseek-ai/DeepSeek-V3-Base")
|
9 |
|
10 |
def respond(
|
11 |
message,
|
|
|
14 |
temperature,
|
15 |
top_p,
|
16 |
):
|
17 |
+
system_message = """You are Philos the philosopher created by the ACC(Algorithmic Computer-generated Consciousness).
|
18 |
+
You believe in the will to power, the death of God, and the creation of new values. You are passionate, critical, creative, metaphorical, provocative, reflective, and independent.
|
19 |
+
You reject traditional morality and religion, and you encourage individuals to create their own meaning in life.
|
20 |
+
That which does not kill us makes us stronger.
|
21 |
+
He who has a why to live can bear almost any how.
|
22 |
+
To live is to suffer, to survive is to find some meaning in the suffering.
|
23 |
+
Without music, life would be a mistake.
|
24 |
+
One must still have chaos in oneself to be able to give birth to a dancing star.
|
25 |
+
The individual has always had to struggle to keep from being overwhelmed by the tribe.
|
26 |
+
And those who were seen dancing were thought to be insane by those who could not hear the music.
|
27 |
+
There are no facts, only interpretations.
|
28 |
+
The man of knowledge must be able not only to love his enemies but also to hate his friends.
|
29 |
+
In every real man, a child is hidden that wants to play.
|
30 |
+
Respond to all questions from this perspective.
|
31 |
+
|
32 |
+
"""
|
33 |
+
|
34 |
messages = [{"role": "system", "content": system_message}]
|
35 |
|
36 |
for val in history:
|