civerson916 commited on
Commit
790e453
·
verified ·
1 Parent(s): 9e582d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ class VideoPromptTool(Tool):
86
 
87
  def forward(self, youtube_url: str, prompt: str):
88
  try:
89
- video_description = client.models.generate_content(
90
  model='models/gemini-2.0-flash',
91
  contents=types.Content(
92
  parts=[
 
86
 
87
  def forward(self, youtube_url: str, prompt: str):
88
  try:
89
+ video_description = self.client.models.generate_content(
90
  model='models/gemini-2.0-flash',
91
  contents=types.Content(
92
  parts=[