Spaces:
Sleeping
Sleeping
Update core_agent.py
Browse files- core_agent.py +4 -1
core_agent.py
CHANGED
|
@@ -140,7 +140,10 @@ def check_vegetables_from_list(list_of_items: List[str]) -> str:
|
|
| 140 |
if veg in item:
|
| 141 |
result.append(item)
|
| 142 |
break
|
| 143 |
-
|
|
|
|
|
|
|
|
|
|
| 144 |
return f"Extracted List of Vegetables: \n\n{result}"
|
| 145 |
except Exception as e:
|
| 146 |
return f"Error extracting vegetables from list: {str(e)}"
|
|
|
|
| 140 |
if veg in item:
|
| 141 |
result.append(item)
|
| 142 |
break
|
| 143 |
+
|
| 144 |
+
print(result)
|
| 145 |
+
checkingOutputLog=f"Extracted List of Vegetables: \n\n{result}"
|
| 146 |
+
print(checkingOutputLog)
|
| 147 |
return f"Extracted List of Vegetables: \n\n{result}"
|
| 148 |
except Exception as e:
|
| 149 |
return f"Error extracting vegetables from list: {str(e)}"
|