civerson916 commited on
Commit
7ad7f3d
·
verified ·
1 Parent(s): 8181c7d

Update app.py

Browse files

super().__init__() in AudioDescriptionTool

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