manu commited on
Commit
b2375ab
·
verified ·
1 Parent(s): 1b5281e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -334,7 +334,7 @@ def stream_agent(question: str,
334
 
335
  # Optional seeding: attach some likely pages on round 1
336
  try:
337
- seed_indices = search(question, k=5) if visual_reasoning == "Seeded Visual Reasoning" else []
338
  except Exception as e:
339
  yield f"❌ Search failed: {e}", "", ""
340
  return
 
334
 
335
  # Optional seeding: attach some likely pages on round 1
336
  try:
337
+ seed_indices = image_search(question, k=5) if visual_reasoning == "Seeded Visual Reasoning" else []
338
  except Exception as e:
339
  yield f"❌ Search failed: {e}", "", ""
340
  return