Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
f985531
1
Parent(s):
ee1151b
debug
Browse files
app.py
CHANGED
@@ -542,12 +542,12 @@ try:
|
|
542 |
rsp = runLLM(wrklist)
|
543 |
st.session_state.rspTA = rsp
|
544 |
logger.debug(f"rspTAtext: {st.session_state.rspTA}")
|
545 |
-
if "sysTA" not in st.session_state:
|
546 |
-
|
547 |
-
elif "sysTAtext" in st.session_state:
|
548 |
-
|
549 |
-
else:
|
550 |
-
|
551 |
|
552 |
if "sysTA" not in st.session_state:
|
553 |
st.session_state.sysTA = st.text_area(label="System Prompt",placeholder="You are a helpful AI assistant", help="Instruct the LLM about how to handle the user prompt.")
|
|
|
542 |
rsp = runLLM(wrklist)
|
543 |
st.session_state.rspTA = rsp
|
544 |
logger.debug(f"rspTAtext: {st.session_state.rspTA}")
|
545 |
+
#if "sysTA" not in st.session_state:
|
546 |
+
# st.session_state.sysTA = st.text_area(label="System Prompt",placeholder="You are a helpful AI assistant", help="Instruct the LLM about how to handle the user prompt.")
|
547 |
+
#elif "sysTAtext" in st.session_state:
|
548 |
+
# st.session_state.sysTA = st.text_area(label="System Prompt",value=st.session_state.sysTAtext,placeholder="You are a helpful AI assistant", help="Instruct the LLM about how to handle the user prompt.")
|
549 |
+
#else:
|
550 |
+
# st.session_state.sysTA = st.text_area(label="System Prompt",value=st.session_state.sysTA,placeholder="You are a helpful AI assistant", help="Instruct the LLM about how to handle the user prompt.")
|
551 |
|
552 |
if "sysTA" not in st.session_state:
|
553 |
st.session_state.sysTA = st.text_area(label="System Prompt",placeholder="You are a helpful AI assistant", help="Instruct the LLM about how to handle the user prompt.")
|