Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def correct_typography(text):
|
|
| 48 |
# -------------------------------------------------
|
| 49 |
# 2. Transcription de l'audio avec Whisper
|
| 50 |
# -------------------------------------------------
|
| 51 |
-
@spaces.GPU(duration=120
|
| 52 |
def transcribe_audio(audio_path):
|
| 53 |
if not audio_path:
|
| 54 |
return "Aucun fichier audio fourni", None, [], ""
|
|
|
|
| 48 |
# -------------------------------------------------
|
| 49 |
# 2. Transcription de l'audio avec Whisper
|
| 50 |
# -------------------------------------------------
|
| 51 |
+
@spaces.GPU(duration=120)
|
| 52 |
def transcribe_audio(audio_path):
|
| 53 |
if not audio_path:
|
| 54 |
return "Aucun fichier audio fourni", None, [], ""
|