bstraehle commited on
Commit
6544119
·
verified ·
1 Parent(s): 0cc2252

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +3 -3
crew.py CHANGED
@@ -92,9 +92,6 @@ def run_crew(question, file_path):
92
 
93
  response = client.models.generate_content(
94
  model=IMAGE_ANALYSIS_MODEL,
95
- config=types.GenerateContentConfig(
96
- thinking_config=types.ThinkingConfig(thinking_budget=24576)
97
- ),
98
  contents=[file, question]
99
  )
100
 
@@ -197,6 +194,9 @@ def run_crew(question, file_path):
197
  Raises:
198
  RuntimeError: If processing fails"""
199
  try:
 
 
 
200
  if file_path:
201
  df = read_file(file_path)
202
  question = f"Question:\n{question}\nData:\n{df.to_string()}"
 
92
 
93
  response = client.models.generate_content(
94
  model=IMAGE_ANALYSIS_MODEL,
 
 
 
95
  contents=[file, question]
96
  )
97
 
 
194
  Raises:
195
  RuntimeError: If processing fails"""
196
  try:
197
+ print("###")
198
+ print(file_path)
199
+ print("###")
200
  if file_path:
201
  df = read_file(file_path)
202
  question = f"Question:\n{question}\nData:\n{df.to_string()}"