wt002 commited on
Commit
b9deb15
·
verified ·
1 Parent(s): 44c22e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -182,8 +182,8 @@ class VideoTranscriptionTool(Tool):
182
  class BasicAgent:
183
  def __init__(self):
184
  token = os.environ.get("HF_API_TOKEN")
185
- model = HfApiModel(
186
- model_name="google/gemini-1.5-flash",
187
  temperature=0.1,
188
  token=token
189
  )
 
182
  class BasicAgent:
183
  def __init__(self):
184
  token = os.environ.get("HF_API_TOKEN")
185
+ self.model = HfApiModel(
186
+ repo_id="google/gemini-1.5-flash",
187
  temperature=0.1,
188
  token=token
189
  )