Francesco-A commited on
Commit
eb28464
·
1 Parent(s): a92388a

- Agent gemini-2.5-flash
- video questions filtered

Files changed (2) hide show
  1. agent.py +1 -1
  2. app.py +1 -1
agent.py CHANGED
@@ -148,7 +148,7 @@ class BasicAgent:
148
  return self.basic_agent.run(prompt)
149
 
150
  class GeminiAgent:
151
- def __init__(self, native_multimodal: bool = True, model_id: str = "gemini/gemini-2.5-flash-lite"):
152
  # def __init__(self, native_multimodal: bool = True, model_id: str = "gemini/gemini-3-flash-preview"):
153
  self.native_multimodal = native_multimodal
154
  if self.native_multimodal:
 
148
  return self.basic_agent.run(prompt)
149
 
150
  class GeminiAgent:
151
+ def __init__(self, native_multimodal: bool = True, model_id: str = "gemini/gemini-2.5-flash"):
152
  # def __init__(self, native_multimodal: bool = True, model_id: str = "gemini/gemini-3-flash-preview"):
153
  self.native_multimodal = native_multimodal
154
  if self.native_multimodal:
app.py CHANGED
@@ -102,7 +102,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
102
  continue
103
 
104
  # CONTENT FILTER SKIP (using .lower() for case-insensitivity)
105
- filter_keywords = ["chess"]
106
  question_words = set(question_text.lower().split()) # Only matches if the exact word is used
107
  if any(word in question_words for word in filter_keywords):
108
  print(f"Skipping filtered question: {item}")
 
102
  continue
103
 
104
  # CONTENT FILTER SKIP (using .lower() for case-insensitivity)
105
+ filter_keywords = ["chess", "video"]
106
  question_words = set(question_text.lower().split()) # Only matches if the exact word is used
107
  if any(word in question_words for word in filter_keywords):
108
  print(f"Skipping filtered question: {item}")