Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
b425874
1
Parent(s):
97c003e
fix
Browse files- audio_to_text_tool.py +1 -1
audio_to_text_tool.py
CHANGED
@@ -45,7 +45,7 @@ def audio_to_text(base64_audio_path: str) -> str:
|
|
45 |
except Exception as e:
|
46 |
return f"An error occurred during transcription: {str(e)}"
|
47 |
|
48 |
-
|
49 |
def audio_to_text_from_youtube(youtube_url: str) -> str:
|
50 |
"""
|
51 |
Downloads audio from a YouTube video and transcribes it using OpenAI Whisper API.
|
|
|
45 |
except Exception as e:
|
46 |
return f"An error occurred during transcription: {str(e)}"
|
47 |
|
48 |
+
#@tool
|
49 |
def audio_to_text_from_youtube(youtube_url: str) -> str:
|
50 |
"""
|
51 |
Downloads audio from a YouTube video and transcribes it using OpenAI Whisper API.
|