ashhadahsan commited on
Commit
379e091
·
1 Parent(s): 5afe7ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -78,8 +78,10 @@ classification = st.checkbox("Classify Category", value=True)
78
  ps = st.empty()
79
  cache_button=st.empty()
80
  msg=st.empty()
 
 
81
  if cache_button.button("Clear"):
82
- caching.clear_cache()
83
  st.balloons()
84
  msg.error("Cache is cleared, please reload to scrape new values")
85
 
 
78
  ps = st.empty()
79
  cache_button=st.empty()
80
  msg=st.empty()
81
+ mutable_object = get_mutable()
82
+
83
  if cache_button.button("Clear"):
84
+ mutable_object.clear()
85
  st.balloons()
86
  msg.error("Cache is cleared, please reload to scrape new values")
87