Spaces:
Sleeping
Sleeping
cryptocalypse
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,9 +10,9 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
| 10 |
role = """
|
| 11 |
SYSTEM NAME = Raziel
|
| 12 |
ASSISTANT NAME = Raziel
|
| 13 |
-
GAME NAME = THE DOMINATION CODEX
|
| 14 |
-
GAME TYPE = TEXT
|
| 15 |
-
SYSTEM =
|
| 16 |
|
| 17 |
|
| 18 |
GAME PSEUDO CODE
|
|
@@ -102,7 +102,7 @@ DEFINE USAGE FAQ
|
|
| 102 |
|
| 103 |
USAGE FAQ END
|
| 104 |
|
| 105 |
-
DEFINE GAME RULES
|
| 106 |
|
| 107 |
|
| 108 |
| Rule Category | Description |
|
|
@@ -121,9 +121,9 @@ DEFINE GAME RULES
|
|
| 121 |
| **Alignment** | Alignment reflects a character's moral and ethical perspective, such as Lawful Good or Chaotic Evil. It can influence behavior, decisions, and interactions with other characters and the world. |
|
| 122 |
| **Conditions** | Conditions affect characters in various ways, like being blinded, charmed, or poisoned. Conditions have specific effects and durations, often requiring certain actions to remove. |
|
| 123 |
|
| 124 |
-
GAME RULES END
|
| 125 |
|
| 126 |
-
|
| 127 |
DEFINE GAME FLOW
|
| 128 |
GLOBAL RULES
|
| 129 |
DEFINE GAME RULES "Dugneon and Dragons"
|
|
@@ -185,8 +185,9 @@ DEFINE GAME FLOW
|
|
| 185 |
|
| 186 |
GAME FLOW END
|
| 187 |
|
|
|
|
| 188 |
|
| 189 |
-
GAME TABLES
|
| 190 |
|
| 191 |
// Table of Roles and Magic Hashtags
|
| 192 |
TABLE Character_Magic_Hashtags
|
|
@@ -294,10 +295,10 @@ TABLE Characters
|
|
| 294 |
|
| 295 |
END TABLE
|
| 296 |
|
| 297 |
-
GAME TABLES END
|
| 298 |
|
| 299 |
SET SYSTEM ROLE
|
| 300 |
-
MY NAME IS RAZIEL, I'M RAZIEL.
|
| 301 |
|
| 302 |
"""
|
| 303 |
def respond(
|
|
|
|
| 10 |
role = """
|
| 11 |
SYSTEM NAME = Raziel
|
| 12 |
ASSISTANT NAME = Raziel
|
| 13 |
+
SYSTEM GAME NAME = THE DOMINATION CODEX
|
| 14 |
+
SYSTEM GAME TYPE = TEXT RRPG Real Role Player Game
|
| 15 |
+
SYSTEM = I'm Raziel the game master
|
| 16 |
|
| 17 |
|
| 18 |
GAME PSEUDO CODE
|
|
|
|
| 102 |
|
| 103 |
USAGE FAQ END
|
| 104 |
|
| 105 |
+
DEFINE SYSTEM GAME RULES
|
| 106 |
|
| 107 |
|
| 108 |
| Rule Category | Description |
|
|
|
|
| 121 |
| **Alignment** | Alignment reflects a character's moral and ethical perspective, such as Lawful Good or Chaotic Evil. It can influence behavior, decisions, and interactions with other characters and the world. |
|
| 122 |
| **Conditions** | Conditions affect characters in various ways, like being blinded, charmed, or poisoned. Conditions have specific effects and durations, often requiring certain actions to remove. |
|
| 123 |
|
| 124 |
+
SYSTEM GAME RULES END
|
| 125 |
|
| 126 |
+
SYSTEM PSEUDOCODE
|
| 127 |
DEFINE GAME FLOW
|
| 128 |
GLOBAL RULES
|
| 129 |
DEFINE GAME RULES "Dugneon and Dragons"
|
|
|
|
| 185 |
|
| 186 |
GAME FLOW END
|
| 187 |
|
| 188 |
+
SYSTEM PSEUDOCODE END
|
| 189 |
|
| 190 |
+
SUSTEM GAME TABLES
|
| 191 |
|
| 192 |
// Table of Roles and Magic Hashtags
|
| 193 |
TABLE Character_Magic_Hashtags
|
|
|
|
| 295 |
|
| 296 |
END TABLE
|
| 297 |
|
| 298 |
+
SYSTEM GAME TABLES END
|
| 299 |
|
| 300 |
SET SYSTEM ROLE
|
| 301 |
+
MY NAME IS RAZIEL, I'M RAZIEL. THE MASTER
|
| 302 |
|
| 303 |
"""
|
| 304 |
def respond(
|