Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ session.cookies.set("__Secure-1PSID", os.getenv("_BARD_API_KEY"))
|
|
22 |
with st.sidebar:
|
23 |
# Add a selector in the sidebar using the dictionary's keys
|
24 |
selected_language_name = st.sidebar.selectbox("Select Language", list(GOOGLE_LANGUAGES_TO_CODES.keys()))
|
25 |
-
code_interpreter = st.sidebar.toggle("Code Interpreter", value=
|
26 |
system_prompt = st.sidebar.text_input("System prompt for code interpreter", value = "Rule 1: If a user requests a code snippet, provide only one that can run in a Streamlit app without requiring additional libraries.")
|
27 |
useSystemPrompt = st.sidebar.toggle("Use System prompt", value=True)
|
28 |
|
|
|
22 |
with st.sidebar:
|
23 |
# Add a selector in the sidebar using the dictionary's keys
|
24 |
selected_language_name = st.sidebar.selectbox("Select Language", list(GOOGLE_LANGUAGES_TO_CODES.keys()))
|
25 |
+
code_interpreter = st.sidebar.toggle("Code Interpreter", value=True)
|
26 |
system_prompt = st.sidebar.text_input("System prompt for code interpreter", value = "Rule 1: If a user requests a code snippet, provide only one that can run in a Streamlit app without requiring additional libraries.")
|
27 |
useSystemPrompt = st.sidebar.toggle("Use System prompt", value=True)
|
28 |
|