davanstrien HF staff commited on
Commit
e66bce9
1 Parent(s): 02bfdfc

reduce cache time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import requests
3
  from cachetools import cached, TTLCache
4
 
5
- CACHE_TIME = 60 * 60 * 12 # 12 hours
6
 
7
 
8
  def parse_arxiv_id_from_paper_url(url):
 
2
  import requests
3
  from cachetools import cached, TTLCache
4
 
5
+ CACHE_TIME = 60 * 60 * 6 # 6 hours
6
 
7
 
8
  def parse_arxiv_id_from_paper_url(url):