doncamilom commited on
Commit
09dfa03
1 Parent(s): 952fd82

collapse boxes + new cc

Browse files
Files changed (2) hide show
  1. app.py +4 -3
  2. requirements.txt +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def run_prompt(prompt):
67
  with st.chat_message("assistant"):
68
  st_callback = StreamlitCallbackHandlerChem(
69
  st.container(),
70
- max_thought_containers = 4,
71
  collapse_completed_thoughts = False,
72
  output_placeholder=ss
73
  )
@@ -105,9 +105,9 @@ with st.sidebar:
105
  st.image(chemcrow_logo)
106
 
107
  # Input OpenAI api key
108
- st.markdown('Input your OpenAI API key.')
109
  st.text_input(
110
- 'OpenAI API key',
 
111
  type='password',
112
  key='api_key',
113
  on_change=on_api_key_change,
@@ -136,6 +136,7 @@ with st.sidebar:
136
  on_click=lambda: run_prompt(pre_prompts[3]),
137
  )
138
 
 
139
  # Display available tools
140
  st.markdown(f"# {len(tool_list)} available tools")
141
  st.dataframe(
 
67
  with st.chat_message("assistant"):
68
  st_callback = StreamlitCallbackHandlerChem(
69
  st.container(),
70
+ max_thought_containers = 2,
71
  collapse_completed_thoughts = False,
72
  output_placeholder=ss
73
  )
 
105
  st.image(chemcrow_logo)
106
 
107
  # Input OpenAI api key
 
108
  st.text_input(
109
+ 'Input your OpenAI API key.',
110
+ placeholder = 'Input your OpenAI API key.',
111
  type='password',
112
  key='api_key',
113
  on_change=on_api_key_change,
 
136
  on_click=lambda: run_prompt(pre_prompts[3]),
137
  )
138
 
139
+ st.markdown('---')
140
  # Display available tools
141
  st.markdown(f"# {len(tool_list)} available tools")
142
  st.dataframe(
requirements.txt CHANGED
@@ -5,7 +5,7 @@ python-dotenv
5
  duckduckgo-search
6
  wikipedia
7
  wandb
8
- chemcrow==0.3.13
9
  pydantic==1.10.7
10
  langchain==0.0.275
11
  typing-inspect==0.8.0
 
5
  duckduckgo-search
6
  wikipedia
7
  wandb
8
+ chemcrow==0.3.14
9
  pydantic==1.10.7
10
  langchain==0.0.275
11
  typing-inspect==0.8.0