Illia56 commited on
Commit
952a9fa
·
1 Parent(s): dc7bd51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ with st.sidebar:
12
  # Add a selector in the sidebar using the dictionary's keys
13
  selected_language_name = st.sidebar.selectbox("Select Language", list(GOOGLE_LANGUAGES_TO_CODES.keys()))
14
  code_interpreter = st.sidebar.toggle("Code Interpreter", value=True)
15
- 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.")
16
  useSystemPrompt = st.sidebar.toggle("Use System prompt", value=True)
17
  exportToReplIt = st.sidebar.toggle("Export to repl.it", value=False)
18
  showImages = st.sidebar.toggle("Show images", value=True)
 
12
  # Add a selector in the sidebar using the dictionary's keys
13
  selected_language_name = st.sidebar.selectbox("Select Language", list(GOOGLE_LANGUAGES_TO_CODES.keys()))
14
  code_interpreter = st.sidebar.toggle("Code Interpreter", value=True)
15
+ 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. Don't use any type of inputs in streamlit app.")
16
  useSystemPrompt = st.sidebar.toggle("Use System prompt", value=True)
17
  exportToReplIt = st.sidebar.toggle("Export to repl.it", value=False)
18
  showImages = st.sidebar.toggle("Show images", value=True)