Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ def execute_jupyter_agent(sytem_prompt, user_input):
|
|
| 19 |
sbx = Sandbox(api_key=E2B_API_KEY)
|
| 20 |
|
| 21 |
messages = [
|
| 22 |
-
{"role": "system", "content":
|
| 23 |
-
{"role": "user", "content":
|
| 24 |
]
|
| 25 |
|
| 26 |
for notebook_html, messages in run_interactive_notebook(client, model, messages, sbx):
|
|
|
|
| 19 |
sbx = Sandbox(api_key=E2B_API_KEY)
|
| 20 |
|
| 21 |
messages = [
|
| 22 |
+
{"role": "system", "content": sytem_prompt},
|
| 23 |
+
{"role": "user", "content": user_input}
|
| 24 |
]
|
| 25 |
|
| 26 |
for notebook_html, messages in run_interactive_notebook(client, model, messages, sbx):
|