Spaces:
Runtime error
Runtime error
yourusername
commited on
Commit
•
50f02db
1
Parent(s):
077ab50
:lipstick: cleanup
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ def show_images_of_term(search_term, num_cols=5, num_rows=3):
|
|
14 |
for col_id in range(num_cols):
|
15 |
cols[col_id].image(urls[row_id * num_cols + col_id], use_column_width=True)
|
16 |
|
|
|
17 |
def explore():
|
18 |
with st.sidebar:
|
19 |
term_1 = st.sidebar.text_input('Search Term 1', value='shiba inu')
|
@@ -29,11 +30,11 @@ def explore():
|
|
29 |
|
30 |
|
31 |
def create_dataset():
|
32 |
-
st.
|
33 |
|
34 |
|
35 |
def main():
|
36 |
-
|
37 |
with st.sidebar:
|
38 |
mode = st.sidebar.selectbox("Mode", ["Explore", "Create Dataset"])
|
39 |
st.sidebar.markdown("---")
|
@@ -41,6 +42,5 @@ def main():
|
|
41 |
_ = explore() if mode == "Explore" else create_dataset()
|
42 |
|
43 |
|
44 |
-
|
45 |
if __name__ == '__main__':
|
46 |
main()
|
|
|
14 |
for col_id in range(num_cols):
|
15 |
cols[col_id].image(urls[row_id * num_cols + col_id], use_column_width=True)
|
16 |
|
17 |
+
|
18 |
def explore():
|
19 |
with st.sidebar:
|
20 |
term_1 = st.sidebar.text_input('Search Term 1', value='shiba inu')
|
|
|
30 |
|
31 |
|
32 |
def create_dataset():
|
33 |
+
st.markdown("# Coming soon...")
|
34 |
|
35 |
|
36 |
def main():
|
37 |
+
|
38 |
with st.sidebar:
|
39 |
mode = st.sidebar.selectbox("Mode", ["Explore", "Create Dataset"])
|
40 |
st.sidebar.markdown("---")
|
|
|
42 |
_ = explore() if mode == "Explore" else create_dataset()
|
43 |
|
44 |
|
|
|
45 |
if __name__ == '__main__':
|
46 |
main()
|