Update app.py
Browse filessuper().__init__() in AudioDescriptionTool
app.py
CHANGED
|
@@ -42,6 +42,7 @@ class AudioDescriptionTool(Tool):
|
|
| 42 |
}
|
| 43 |
output_type = "string"
|
| 44 |
def __init__(self):
|
|
|
|
| 45 |
self.client = genai.Client(api_key=os.environ.get("GEMINI_KEY"))
|
| 46 |
|
| 47 |
def forward(self, file_name: str):
|
|
|
|
| 42 |
}
|
| 43 |
output_type = "string"
|
| 44 |
def __init__(self):
|
| 45 |
+
super().__init__()
|
| 46 |
self.client = genai.Client(api_key=os.environ.get("GEMINI_KEY"))
|
| 47 |
|
| 48 |
def forward(self, file_name: str):
|