Spaces:
Sleeping
Sleeping
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from transformers import (
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
-
MODEL_ID = "Daemontatox/
|
24 |
DEFAULT_SYSTEM_PROMPT = """You are a highly intelligent reasoning assistant. For every question, follow these steps and use tags to structure your response for clarity and transparency:
|
25 |
[Understand]: Analyze the question to identify key details and clarify the goal.
|
26 |
[Plan]: Outline a logical, step-by-step approach to address the question or problem.
|
@@ -138,7 +138,7 @@ def create_examples():
|
|
138 |
"What is the role of DNA in genetics?"
|
139 |
]
|
140 |
|
141 |
-
@spaces.GPU(duration=
|
142 |
def chat_response(
|
143 |
message: str,
|
144 |
history: list,
|
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
+
MODEL_ID = "Daemontatox/CogitoZ"
|
24 |
DEFAULT_SYSTEM_PROMPT = """You are a highly intelligent reasoning assistant. For every question, follow these steps and use tags to structure your response for clarity and transparency:
|
25 |
[Understand]: Analyze the question to identify key details and clarify the goal.
|
26 |
[Plan]: Outline a logical, step-by-step approach to address the question or problem.
|
|
|
138 |
"What is the role of DNA in genetics?"
|
139 |
]
|
140 |
|
141 |
+
@spaces.GPU(duration=660)
|
142 |
def chat_response(
|
143 |
message: str,
|
144 |
history: list,
|