Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,7 +125,6 @@ def main():
|
|
| 125 |
# Wrap the content inside st.spinner for the "Submit" button
|
| 126 |
if st.sidebar.button("Submit"):
|
| 127 |
with st.spinner("Searching..."):
|
| 128 |
-
time.sleep(2) # Simulate a loading delay (replace with actual image search function)
|
| 129 |
if len(query) > 0:
|
| 130 |
results = image_search(query, corpus)
|
| 131 |
clicked = clickable_images(
|
|
|
|
| 125 |
# Wrap the content inside st.spinner for the "Submit" button
|
| 126 |
if st.sidebar.button("Submit"):
|
| 127 |
with st.spinner("Searching..."):
|
|
|
|
| 128 |
if len(query) > 0:
|
| 129 |
results = image_search(query, corpus)
|
| 130 |
clicked = clickable_images(
|