Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ class AtlasInferenceApp:
|
|
92 |
|
93 |
try:
|
94 |
# Add a system instruction to guide the model's behavior
|
95 |
-
system_instruction =
|
96 |
prompt = f"{system_instruction}\n\n### Instruction:\n{message}\n\n### Response:"
|
97 |
|
98 |
inputs = st.session_state.current_model["tokenizer"](
|
|
|
92 |
|
93 |
try:
|
94 |
# Add a system instruction to guide the model's behavior
|
95 |
+
system_instruction = os.getenv("SYS_PROMPT")
|
96 |
prompt = f"{system_instruction}\n\n### Instruction:\n{message}\n\n### Response:"
|
97 |
|
98 |
inputs = st.session_state.current_model["tokenizer"](
|