Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|