Spaces:
Sleeping
Sleeping
Commit ·
57302a3
1
Parent(s): b6673f3
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ if "openai_key" in st.session_state:
|
|
| 37 |
if submitted:
|
| 38 |
with st.spinner():
|
| 39 |
llm = OpenAI(api_token=st.session_state.openai_key)
|
| 40 |
-
pandas_ai = PandasAI(llm)
|
| 41 |
x = pandas_ai.run(st.session_state.df, prompt=question)
|
| 42 |
|
| 43 |
if os.path.isfile('temp_chart.png'):
|
|
|
|
| 37 |
if submitted:
|
| 38 |
with st.spinner():
|
| 39 |
llm = OpenAI(api_token=st.session_state.openai_key)
|
| 40 |
+
pandas_ai = PandasAI(llm,enable_cache=False)
|
| 41 |
x = pandas_ai.run(st.session_state.df, prompt=question)
|
| 42 |
|
| 43 |
if os.path.isfile('temp_chart.png'):
|