yrobel-lima commited on
Commit
1111290
1 Parent(s): 1be57cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ base_error_message = (
32
  # Get chain and memory
33
 
34
 
35
- @st.cache_resource(show_spinner=False)
36
  def get_chain_and_memory():
37
  try:
38
  # gpt-4 points to gpt-4-0613
 
32
  # Get chain and memory
33
 
34
 
35
+ @st.cache_resource(ttl="5d", show_spinner=False)
36
  def get_chain_and_memory():
37
  try:
38
  # gpt-4 points to gpt-4-0613