Spaces:
Build error
Build error
Commit
·
64021df
1
Parent(s):
f4d58a5
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,9 +209,8 @@ def main():
|
|
| 209 |
filename = save_and_play_audio(audio_recorder)
|
| 210 |
if filename is not None:
|
| 211 |
transcription = transcribe_audio(openai.api_key, filename, "whisper-1")
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
|
| 216 |
|
| 217 |
all_files = glob.glob("*.*")
|
|
|
|
| 209 |
filename = save_and_play_audio(audio_recorder)
|
| 210 |
if filename is not None:
|
| 211 |
transcription = transcribe_audio(openai.api_key, filename, "whisper-1")
|
| 212 |
+
st.session_state.text_content = transcription
|
| 213 |
+
|
|
|
|
| 214 |
|
| 215 |
|
| 216 |
all_files = glob.glob("*.*")
|