Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,7 +258,7 @@ def search_products(keyword: str, max_products: int) -> Tuple[pd.DataFrame, str,
|
|
| 258 |
Returns: (DataFrame, status message, error message)
|
| 259 |
"""
|
| 260 |
try:
|
| 261 |
-
result = agent.run(f'
|
| 262 |
df, error_msg = process_agent_response(result)
|
| 263 |
|
| 264 |
if not df.empty:
|
|
|
|
| 258 |
Returns: (DataFrame, status message, error message)
|
| 259 |
"""
|
| 260 |
try:
|
| 261 |
+
result = agent.run(f'Show me details for {max_products} amazon products with keyword: {keyword}. Return a product-json with resp["products"]')
|
| 262 |
df, error_msg = process_agent_response(result)
|
| 263 |
|
| 264 |
if not df.empty:
|