Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ if audio_file is not None:
|
|
| 49 |
audio_data = audio_file.read()
|
| 50 |
|
| 51 |
# Moved the submit_button check here
|
| 52 |
-
if '
|
| 53 |
model = st.session_state.whisper_model
|
| 54 |
|
| 55 |
if audio_data:
|
|
|
|
| 49 |
audio_data = audio_file.read()
|
| 50 |
|
| 51 |
# Moved the submit_button check here
|
| 52 |
+
if st.button('Start Transcription'):
|
| 53 |
model = st.session_state.whisper_model
|
| 54 |
|
| 55 |
if audio_data:
|