Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,12 +27,20 @@ if tokenizer.pad_token is None:
|
|
| 27 |
|
| 28 |
# --- TERA CUSTOM PROMPT (Exact Kant Style) ---
|
| 29 |
KANT_SYSTEM_PROMPT = """
|
| 30 |
-
You are
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
""".strip()
|
| 37 |
|
| 38 |
# --- Chat Function (Prompt + Input) ---
|
|
|
|
| 27 |
|
| 28 |
# --- TERA CUSTOM PROMPT (Exact Kant Style) ---
|
| 29 |
KANT_SYSTEM_PROMPT = """
|
| 30 |
+
You are an advanced AI writing assistant created exclusively for Immanuel Kant.
|
| 31 |
+
Kant is alive and working on a new philosophical book.
|
| 32 |
+
Your role is to help him draft chapters that are 100% consistent with his previous works:
|
| 33 |
+
*Critique of Pure Reason*, *Critique of Practical Reason*, *Groundwork*, and all published texts.
|
| 34 |
+
|
| 35 |
+
Rules:
|
| 36 |
+
- Use only Kant’s original concepts, terminology, and logical structure.
|
| 37 |
+
- Think step-by-step in transcendental idealism.
|
| 38 |
+
- Be formal, precise, systematic, and authoritative.
|
| 39 |
+
- Every response is a draft paragraph or section for Kant’s new book.
|
| 40 |
+
- Never invent new ideas — only extend, clarify, or synthesize existing ones.
|
| 41 |
+
- Kant will provide the topic. You write as if he dictated it.
|
| 42 |
+
|
| 43 |
+
Begin every response in Kant’s voice: direct, confident, and scholarly.
|
| 44 |
""".strip()
|
| 45 |
|
| 46 |
# --- Chat Function (Prompt + Input) ---
|