Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ set_inference_on = True
|
|
| 50 |
|
| 51 |
# Utility functions
|
| 52 |
def delay_execution():
|
| 53 |
-
time.sleep(
|
| 54 |
|
| 55 |
# Agent stuff starts here
|
| 56 |
class BasicAgent:
|
|
@@ -68,7 +68,7 @@ class BasicAgent:
|
|
| 68 |
additional_authorized_imports=['pandas', 'requests', 'markdownify'],
|
| 69 |
max_steps=10,
|
| 70 |
verbosity_level=1,
|
| 71 |
-
step_callbacks=[delay_execution
|
| 72 |
)
|
| 73 |
|
| 74 |
|
|
|
|
| 50 |
|
| 51 |
# Utility functions
|
| 52 |
def delay_execution():
|
| 53 |
+
time.sleep(5)
|
| 54 |
|
| 55 |
# Agent stuff starts here
|
| 56 |
class BasicAgent:
|
|
|
|
| 68 |
additional_authorized_imports=['pandas', 'requests', 'markdownify'],
|
| 69 |
max_steps=10,
|
| 70 |
verbosity_level=1,
|
| 71 |
+
step_callbacks=[delay_execution]
|
| 72 |
)
|
| 73 |
|
| 74 |
|