Spaces:
Sleeping
Sleeping
test
Browse files- Gradio_UI.py +2 -1
Gradio_UI.py
CHANGED
@@ -60,7 +60,6 @@ def pull_messages_from_step(
|
|
60 |
content = str(args.get("answer", str(args)))
|
61 |
else:
|
62 |
content = str(args).strip()
|
63 |
-
print(model_output)
|
64 |
|
65 |
if used_code:
|
66 |
# Clean up the content by removing any end code tags
|
@@ -69,6 +68,8 @@ def pull_messages_from_step(
|
|
69 |
content = content.strip()
|
70 |
if not content.startswith("```python"):
|
71 |
content = f"```python\n{content}\n```"
|
|
|
|
|
72 |
|
73 |
parent_message_tool = gr.ChatMessage(
|
74 |
role="assistant",
|
|
|
60 |
content = str(args.get("answer", str(args)))
|
61 |
else:
|
62 |
content = str(args).strip()
|
|
|
63 |
|
64 |
if used_code:
|
65 |
# Clean up the content by removing any end code tags
|
|
|
68 |
content = content.strip()
|
69 |
if not content.startswith("```python"):
|
70 |
content = f"```python\n{content}\n```"
|
71 |
+
print("TEST")
|
72 |
+
print(first_tool_call.name,parent_id, content, step_log)
|
73 |
|
74 |
parent_message_tool = gr.ChatMessage(
|
75 |
role="assistant",
|