Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def find_most_similar_command(statement, command_list):
|
|
34 |
def transcribe_the_command(audio,id):
|
35 |
import soundfile as sf
|
36 |
commands=urdu_data[0]
|
|
|
37 |
sample_rate, audio_data = audio
|
38 |
file_name = "recorded_audio.wav"
|
39 |
sf.write(file_name, audio_data, sample_rate)
|
|
|
34 |
def transcribe_the_command(audio,id):
|
35 |
import soundfile as sf
|
36 |
commands=urdu_data[0]
|
37 |
+
print(commands)
|
38 |
sample_rate, audio_data = audio
|
39 |
file_name = "recorded_audio.wav"
|
40 |
sf.write(file_name, audio_data, sample_rate)
|