Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def describe_image(path: str) -> str:
|
|
| 32 |
return image_captioner(path)[0]["generated_text"]
|
| 33 |
|
| 34 |
@tool
|
| 35 |
-
def audio_to_text_tool(audio_file_path):
|
| 36 |
"""Converts audio file to text. requires audio file path. return transcribed text.
|
| 37 |
Args:
|
| 38 |
audio_file_path: path of audio data file
|
|
|
|
| 32 |
return image_captioner(path)[0]["generated_text"]
|
| 33 |
|
| 34 |
@tool
|
| 35 |
+
def audio_to_text_tool(audio_file_path:str) -> str:
|
| 36 |
"""Converts audio file to text. requires audio file path. return transcribed text.
|
| 37 |
Args:
|
| 38 |
audio_file_path: path of audio data file
|