Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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
|