Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,9 @@ st.title("Live Speech to Job Offer Generator")
|
|
| 7 |
|
| 8 |
# Capture live audio
|
| 9 |
wav_audio_data = st_audiorec()
|
| 10 |
-
|
| 11 |
if wav_audio_data is not None:
|
|
|
|
| 12 |
# Convert audio to text
|
| 13 |
with st.spinner("Converting..."):
|
| 14 |
transcribed_text = audio_to_text(wav_audio_data)
|
|
|
|
| 7 |
|
| 8 |
# Capture live audio
|
| 9 |
wav_audio_data = st_audiorec()
|
| 10 |
+
print(wav_audio_data)
|
| 11 |
if wav_audio_data is not None:
|
| 12 |
+
print("HELLO")
|
| 13 |
# Convert audio to text
|
| 14 |
with st.spinner("Converting..."):
|
| 15 |
transcribed_text = audio_to_text(wav_audio_data)
|