CindyDelage commited on
Commit
b8be4f0
·
verified ·
1 Parent(s): 6fc2178

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +2 -2
tools.py CHANGED
@@ -119,7 +119,7 @@ class image_interpreter(Tool):
119
  name = "image_tool"
120
  description = "Allows you to convert an image to text (the function will describe the image)."
121
  inputs = {
122
- 'image': {"type": "image", "description": "The image or video of interest, png format or jpeg"},
123
  }
124
  output_type = "string"
125
 
@@ -165,7 +165,7 @@ class audio_or_mp3__interpreter(Tool):
165
  name="audio_tool"
166
  description = "Allows you to convert audio into text. It uses Whisper, it is a state-of-the-art model for automatic speech recognition (ASR) and speech translation"
167
  inputs = {
168
- 'audio': {"type": "audio", "description": "the audio of interest. Must be in the format mp3."}
169
  }
170
  output_type = "string"
171
 
 
119
  name = "image_tool"
120
  description = "Allows you to convert an image to text (the function will describe the image)."
121
  inputs = {
122
+ 'image': {"type": "image", "description": "The image of interest, png format or jpeg (must be the local path of the image)"},
123
  }
124
  output_type = "string"
125
 
 
165
  name="audio_tool"
166
  description = "Allows you to convert audio into text. It uses Whisper, it is a state-of-the-art model for automatic speech recognition (ASR) and speech translation"
167
  inputs = {
168
+ 'audio': {"type": "audio", "description": "the audio of interest (must be the local path to this audio file). Must be in the format mp3."}
169
  }
170
  output_type = "string"
171