Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -99,7 +99,7 @@ def execute_python(code: str, config: RunnableConfig):
|
|
| 99 |
|
| 100 |
|
| 101 |
memory = MemorySaver()
|
| 102 |
-
model = ChatOpenAI(model="gpt-4o
|
| 103 |
prompt = ChatPromptTemplate.from_messages([
|
| 104 |
("system", f"You are a Data Visualization assistant.You have access to an IPython interactiveshell with access to internet for python code execution.\
|
| 105 |
Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations and charts. Generated artifacts\
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
memory = MemorySaver()
|
| 102 |
+
model = ChatOpenAI(model="gpt-4o", streaming=True)
|
| 103 |
prompt = ChatPromptTemplate.from_messages([
|
| 104 |
("system", f"You are a Data Visualization assistant.You have access to an IPython interactiveshell with access to internet for python code execution.\
|
| 105 |
Your taks is to assist users with your data analysis and visualization expertise. Use Plotly for creating visualizations and charts. Generated artifacts\
|