Koomemartin commited on
Commit
e71a975
·
verified ·
1 Parent(s): 3846328

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def get_links(url):
71
  result = response.choices[0].message.content
72
  return json.loads(result)
73
 
74
- @st.cache_data
75
  def get_all_details(url):
76
  result = "Home page:\n"
77
  result += Website(url).get_contents()
 
71
  result = response.choices[0].message.content
72
  return json.loads(result)
73
 
74
+ @st.cache_resource
75
  def get_all_details(url):
76
  result = "Home page:\n"
77
  result += Website(url).get_contents()