Spaces:
Running
Running
Update app.py
Browse files
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.
|
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()
|