Spaces:
Runtime error
Runtime error
Last changes (#21)
Browse files* refactor: separate app components (#17)
* Deactivate verbose mode and remove print
* refactor: separate app components
- gnosis/agent.py +2 -2
gnosis/agent.py
CHANGED
|
@@ -27,7 +27,7 @@ class PDFExplainer:
|
|
| 27 |
self.tools,
|
| 28 |
llm,
|
| 29 |
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
| 30 |
-
verbose=
|
| 31 |
handle_parsing_errors=True,
|
| 32 |
)
|
| 33 |
|
|
@@ -41,6 +41,6 @@ class PDFExplainer:
|
|
| 41 |
self.tools,
|
| 42 |
llm,
|
| 43 |
agent=agent,
|
| 44 |
-
verbose=
|
| 45 |
handle_parsing_errors=True,
|
| 46 |
)
|
|
|
|
| 27 |
self.tools,
|
| 28 |
llm,
|
| 29 |
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
| 30 |
+
verbose=False,
|
| 31 |
handle_parsing_errors=True,
|
| 32 |
)
|
| 33 |
|
|
|
|
| 41 |
self.tools,
|
| 42 |
llm,
|
| 43 |
agent=agent,
|
| 44 |
+
verbose=False,
|
| 45 |
handle_parsing_errors=True,
|
| 46 |
)
|