BissakaAI commited on
Commit
fa46b8b
·
verified ·
1 Parent(s): 0ee0706

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,9 +33,9 @@ def speech_interface(audio_file):
33
  audio_data = librosa.resample(audio_data, orig_sr=sr, target_sr=16000)
34
 
35
  # Call the speechonly function
36
- llm_response, wav_path = speechonly(audio_data, output_wav_path="output.wav")
37
 
38
- return llm_response, wav_path
39
 
40
 
41
  # Create Gradio interface with tabs
 
33
  audio_data = librosa.resample(audio_data, orig_sr=sr, target_sr=16000)
34
 
35
  # Call the speechonly function
36
+ llm_response = speechonly(audio_data, output_wav_path="output.wav")
37
 
38
+ return llm_response
39
 
40
 
41
  # Create Gradio interface with tabs