Spaces:
Paused
Paused
try to reinitialize the conversition for each new session
Browse files- Gradio_UI.py +2 -0
Gradio_UI.py
CHANGED
|
@@ -24,6 +24,8 @@ from smolagents.agents import ActionStep, MultiStepAgent
|
|
| 24 |
from smolagents.memory import MemoryStep
|
| 25 |
from smolagents.utils import _is_package_available
|
| 26 |
|
|
|
|
|
|
|
| 27 |
|
| 28 |
def pull_messages_from_step(
|
| 29 |
step_log: MemoryStep,
|
|
|
|
| 24 |
from smolagents.memory import MemoryStep
|
| 25 |
from smolagents.utils import _is_package_available
|
| 26 |
|
| 27 |
+
import gradio as gr
|
| 28 |
+
|
| 29 |
|
| 30 |
def pull_messages_from_step(
|
| 31 |
step_log: MemoryStep,
|