Hunzla commited on
Commit
34ef833
1 Parent(s): e7f5f31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,9 +8,10 @@ def transcribe_the_command(audio):
8
  file_name = "recorded_audio.wav"
9
  sf.write(file_name, audio_data, sample_rate)
10
  # Convert stereo to mono by averaging the two channels
11
- print(file_name)
12
 
13
  transcript = asr_pipe(file_name)["text"]
 
 
14
  client = Client("https://ysharma-explore-llamav2-with-tgi.hf.space/")
15
  result = client.predict(
16
  transcript,
 
8
  file_name = "recorded_audio.wav"
9
  sf.write(file_name, audio_data, sample_rate)
10
  # Convert stereo to mono by averaging the two channels
 
11
 
12
  transcript = asr_pipe(file_name)["text"]
13
+ print(transcript)
14
+
15
  client = Client("https://ysharma-explore-llamav2-with-tgi.hf.space/")
16
  result = client.predict(
17
  transcript,