awacke1 commited on
Commit
f57fd10
·
1 Parent(s): 75aa023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -39,6 +39,13 @@ from io import BytesIO
39
  # page config and sidebar declares up front allow all other functions to see global class variables
40
  st.set_page_config(page_title="GPT Streamlit Document Reasoner", layout="wide")
41
  should_save = st.sidebar.checkbox("💾 Save", value=True)
 
 
 
 
 
 
 
42
 
43
 
44
  # Read it aloud
@@ -467,15 +474,6 @@ def get_zip_download_link(zip_file):
467
 
468
  def main():
469
 
470
- col1, col2, col3, col4 = st.columns(4)
471
-
472
- with col1:
473
- with st.expander("Settings 🧠💾", expanded=False):
474
- # File type for output, model choice
475
- menu = ["txt", "htm", "xlsx", "csv", "md", "py"]
476
- choice = st.sidebar.selectbox("Output File Type:", menu)
477
- model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
478
-
479
  # Audio, transcribe, GPT:
480
  filename = save_and_play_audio(audio_recorder)
481
 
 
39
  # page config and sidebar declares up front allow all other functions to see global class variables
40
  st.set_page_config(page_title="GPT Streamlit Document Reasoner", layout="wide")
41
  should_save = st.sidebar.checkbox("💾 Save", value=True)
42
+ col1, col2, col3, col4 = st.columns(4)
43
+ with col1:
44
+ with st.expander("Settings 🧠💾", expanded=True):
45
+ # File type for output, model choice
46
+ menu = ["txt", "htm", "xlsx", "csv", "md", "py"]
47
+ choice = st.sidebar.selectbox("Output File Type:", menu)
48
+ model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
49
 
50
 
51
  # Read it aloud
 
474
 
475
  def main():
476
 
 
 
 
 
 
 
 
 
 
477
  # Audio, transcribe, GPT:
478
  filename = save_and_play_audio(audio_recorder)
479