Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from tts import synthesize # Import the correct TTS function
|
|
| 5 |
|
| 6 |
def process_audio(audio_data):
|
| 7 |
# Step 1: Perform ASR (Audio-to-Text)
|
| 8 |
-
transcription =
|
| 9 |
|
| 10 |
# Step 2: Detect language
|
| 11 |
language = detect_language(audio_data)
|
|
|
|
| 5 |
|
| 6 |
def process_audio(audio_data):
|
| 7 |
# Step 1: Perform ASR (Audio-to-Text)
|
| 8 |
+
transcription = transcribe_audio(audio_data)
|
| 9 |
|
| 10 |
# Step 2: Detect language
|
| 11 |
language = detect_language(audio_data)
|