Update app.py
Browse files
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
|
| 37 |
|
| 38 |
-
return llm_response
|
| 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
|