Srj-ai commited on
Commit
0967327
·
verified ·
1 Parent(s): b84d9a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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