Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def generate_audio(age, gender, accent):
|
|
57 |
return wav_file_path, wav_file_path
|
58 |
|
59 |
# Transcribe & Compare (GPU Decorated)
|
60 |
-
|
61 |
def transcribe_audio(file_path):
|
62 |
if not file_path:
|
63 |
return "No file selected.", "", "", "", "", "", ""
|
|
|
57 |
return wav_file_path, wav_file_path
|
58 |
|
59 |
# Transcribe & Compare (GPU Decorated)
|
60 |
+
@spaces.GPU
|
61 |
def transcribe_audio(file_path):
|
62 |
if not file_path:
|
63 |
return "No file selected.", "", "", "", "", "", ""
|