Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -743,7 +743,7 @@ def display_glossary(glossary, area):
|
|
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
-
|
| 747 |
def display_videos_and_links(num_columns):
|
| 748 |
video_files = [f for f in os.listdir('.') if f.endswith('.mp4')]
|
| 749 |
if not video_files:
|
|
@@ -792,7 +792,7 @@ def clear_query_params():
|
|
| 792 |
st.query_params()
|
| 793 |
|
| 794 |
# Function to display content or image based on a query
|
| 795 |
-
|
| 796 |
def display_content_or_image(query):
|
| 797 |
for category, terms in transhuman_glossary.items():
|
| 798 |
for term in terms:
|
|
|
|
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
+
#@st.cache_resource
|
| 747 |
def display_videos_and_links(num_columns):
|
| 748 |
video_files = [f for f in os.listdir('.') if f.endswith('.mp4')]
|
| 749 |
if not video_files:
|
|
|
|
| 792 |
st.query_params()
|
| 793 |
|
| 794 |
# Function to display content or image based on a query
|
| 795 |
+
#@st.cache_resource
|
| 796 |
def display_content_or_image(query):
|
| 797 |
for category, terms in transhuman_glossary.items():
|
| 798 |
for term in terms:
|