Spaces:
Running
Running
Update eb_agent_module.py
Browse files- eb_agent_module.py +2 -1
eb_agent_module.py
CHANGED
@@ -316,7 +316,8 @@ class EmployerBrandingAgent:
|
|
316 |
logging.warning("PandasAI agent not initialized, attempting re-initialization")
|
317 |
self._initialize_pandas_agent()
|
318 |
pandas_ready = self.pandas_agent is not None
|
319 |
-
|
|
|
320 |
return self.is_ready
|
321 |
|
322 |
except Exception as e:
|
|
|
316 |
logging.warning("PandasAI agent not initialized, attempting re-initialization")
|
317 |
self._initialize_pandas_agent()
|
318 |
pandas_ready = self.pandas_agent is not None
|
319 |
+
|
320 |
+
self.is_ready = True
|
321 |
return self.is_ready
|
322 |
|
323 |
except Exception as e:
|