Spaces:
Build error
Build error
Commit ·
425fab4
1
Parent(s): 99694bd
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from utils import *
|
| 3 |
|
| 4 |
|
| 5 |
-
# streamlit session state holds history, this mehtods cleas that history
|
| 6 |
def clear_history():
|
| 7 |
if 'history' in st.session_state:
|
| 8 |
del st.session_state['history']
|
|
|
|
| 2 |
from utils import *
|
| 3 |
|
| 4 |
|
| 5 |
+
# streamlit session state holds history, this mehtods cleas that history. Note: as our applications become more complicated session state will be used more.
|
| 6 |
def clear_history():
|
| 7 |
if 'history' in st.session_state:
|
| 8 |
del st.session_state['history']
|