awacke1 commited on
Commit
875b4b5
·
1 Parent(s): 0245c3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -574,12 +574,15 @@ def get_zip_download_link(zip_file):
574
 
575
 
576
  def main():
577
- #openai.api_key = os.getenv('OPENAI_API_KEY')
578
 
579
- # File type for output, model choice
580
- menu = ["txt", "htm", "xlsx", "csv", "md", "py"]
581
- choice = st.sidebar.selectbox("Output File Type:", menu)
582
- model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
 
 
 
 
583
 
584
  # Audio, transcribe, GPT:
585
  filename = save_and_play_audio(audio_recorder)
 
574
 
575
 
576
  def main():
 
577
 
578
+ col1, col2, col3, col4 = st.columns(4)
579
+
580
+ with col1:
581
+ with st.expander("Settings 🧠💾", expanded=False):
582
+ # File type for output, model choice
583
+ menu = ["txt", "htm", "xlsx", "csv", "md", "py"]
584
+ choice = st.sidebar.selectbox("Output File Type:", menu)
585
+ model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
586
 
587
  # Audio, transcribe, GPT:
588
  filename = save_and_play_audio(audio_recorder)