awacke1 commited on
Commit
133f625
β€’
1 Parent(s): 0d44617

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -16,10 +16,10 @@ openai.api_key = os.getenv('OPENAI_KEY')
16
  st.set_page_config(
17
  page_title="GPT Streamlit Document Reasoner",
18
  layout="wide")
19
- st.title("GPT Chat with Optional File Context - Talk to your data!")
20
 
21
  # Output options sidebar menu
22
- st.sidebar.title("Output Options")
23
  menu = ["txt", "htm", "md"]
24
  choice = st.sidebar.selectbox("Choose output file type to save results", menu)
25
  choicePrefix = "Output and download file set to "
@@ -29,6 +29,8 @@ elif choice == "htm":
29
  st.sidebar.write(choicePrefix + "HTML5.")
30
  elif choice == "md":
31
  st.sidebar.write(choicePrefix + "Markdown.")
 
 
32
 
33
  # sidebar slider for file input length to include in inference blocks
34
  max_length = st.sidebar.slider("Max document length", min_value=1000, max_value=32000, value=3000, step=1000)
 
16
  st.set_page_config(
17
  page_title="GPT Streamlit Document Reasoner",
18
  layout="wide")
19
+ # st.title("GPT Chat with Optional File Context - Talk to your data!")
20
 
21
  # Output options sidebar menu
22
+ # st.sidebar.title("Output Options")
23
  menu = ["txt", "htm", "md"]
24
  choice = st.sidebar.selectbox("Choose output file type to save results", menu)
25
  choicePrefix = "Output and download file set to "
 
29
  st.sidebar.write(choicePrefix + "HTML5.")
30
  elif choice == "md":
31
  st.sidebar.write(choicePrefix + "Markdown.")
32
+ elif choice == "py":
33
+ st.sidebar.write(choicePrefix + "Python AI UI/UX")
34
 
35
  # sidebar slider for file input length to include in inference blocks
36
  max_length = st.sidebar.slider("Max document length", min_value=1000, max_value=32000, value=3000, step=1000)