Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ from transformers import (
|
|
14 |
)
|
15 |
|
16 |
# Configuration Constants
|
17 |
-
MODEL_ID="
|
18 |
|
19 |
|
20 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
@@ -141,7 +141,7 @@ def create_examples():
|
|
141 |
"What is the role of DNA in genetics?"
|
142 |
]
|
143 |
|
144 |
-
@spaces.GPU(duration=
|
145 |
def chat_response(
|
146 |
message: str,
|
147 |
history: list,
|
|
|
14 |
)
|
15 |
|
16 |
# Configuration Constants
|
17 |
+
MODEL_ID="NovaSky-AI/Sky-T1-32B-Flash"
|
18 |
|
19 |
|
20 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
|
|
141 |
"What is the role of DNA in genetics?"
|
142 |
]
|
143 |
|
144 |
+
@spaces.GPU(duration=120)
|
145 |
def chat_response(
|
146 |
message: str,
|
147 |
history: list,
|