phyloforfun commited on
Commit
daf2e4b
1 Parent(s): bb0313e

file upload gallery

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -920,13 +920,13 @@ The desired null value is also given. Populate the field with the null value of
920
  # Prompt Author Information
921
  st.header("Prompt Author Information")
922
  st.write("We value community contributions! Please provide your name(s) (or pseudonym if you prefer) for credit. If you leave this field blank, it will say 'unknown'.")
923
- st.session_state['prompt_author'] = st.text_input("Enter names of prompt author(s)", value=st.session_state['default_prompt_author'])
924
 
925
  st.write("Please provide your institution name. If you leave this field blank, it will say 'unknown'.")
926
- st.session_state['prompt_author_institution'] = st.text_input("Enter name of institution", value=st.session_state['default_prompt_author_institution'])
927
 
928
  st.write("Please provide a description of your prompt and its intended task. Is it designed for a specific collection? Taxa? Database structure?")
929
- st.session_state['prompt_description'] = st.text_input("Enter description of prompt", value=st.session_state['default_prompt_description'])
930
 
931
 
932
  st.write('---')
 
920
  # Prompt Author Information
921
  st.header("Prompt Author Information")
922
  st.write("We value community contributions! Please provide your name(s) (or pseudonym if you prefer) for credit. If you leave this field blank, it will say 'unknown'.")
923
+ st.session_state['prompt_author'] = st.text_input("Enter names of prompt author(s)", value=st.session_state['prompt_info'].get('prompt_author', st.session_state['default_prompt_author']))
924
 
925
  st.write("Please provide your institution name. If you leave this field blank, it will say 'unknown'.")
926
+ st.session_state['prompt_author_institution'] = st.text_input("Enter name of institution", value=st.session_state['prompt_info'].get('prompt_author_institution', st.session_state['default_prompt_author_institution']))
927
 
928
  st.write("Please provide a description of your prompt and its intended task. Is it designed for a specific collection? Taxa? Database structure?")
929
+ st.session_state['prompt_description'] = st.text_input("Enter description of prompt", value=st.session_state['prompt_info'].get('prompt_description', st.session_state['default_prompt_description']))
930
 
931
 
932
  st.write('---')