Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -191,9 +191,9 @@ async def handle_search(
|
|
| 191 |
coupons = cached_coupons or []
|
| 192 |
else:
|
| 193 |
print(f"❄️ [Cache Miss] Initiating parallel engine verification sequence for pricing & coupons...")
|
| 194 |
-
deals,
|
| 195 |
-
|
| 196 |
-
|
| 197 |
)
|
| 198 |
|
| 199 |
if original_site_deal:
|
|
|
|
| 191 |
coupons = cached_coupons or []
|
| 192 |
else:
|
| 193 |
print(f"❄️ [Cache Miss] Initiating parallel engine verification sequence for pricing & coupons...")
|
| 194 |
+
deals, prices = await asyncio.gather(
|
| 195 |
+
fetch_deals_standalone(target_item),
|
| 196 |
+
scan_prices(target_item)
|
| 197 |
)
|
| 198 |
|
| 199 |
if original_site_deal:
|