Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,9 @@ def loadfile():
|
|
47 |
os.remove(local_filename)
|
48 |
else:
|
49 |
print(f"Lỗi khi tải tệp từ URL: {response.status_code}")
|
|
|
50 |
|
51 |
-
loadfile()
|
52 |
# Step 1: Transcribe the audio file
|
53 |
def transcribe_audio(audio):
|
54 |
if audio is None:
|
|
|
47 |
os.remove(local_filename)
|
48 |
else:
|
49 |
print(f"Lỗi khi tải tệp từ URL: {response.status_code}")
|
50 |
+
return extracted_path
|
51 |
|
52 |
+
Path_up=loadfile()
|
53 |
# Step 1: Transcribe the audio file
|
54 |
def transcribe_audio(audio):
|
55 |
if audio is None:
|