Spaces:
Runtime error
Runtime error
Commit
·
c247924
1
Parent(s):
1377bb8
app.py
CHANGED
|
@@ -24,7 +24,6 @@ col1, col2 = st.columns(2)
|
|
| 24 |
|
| 25 |
images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]
|
| 26 |
|
| 27 |
-
col1.subheader(descr)
|
| 28 |
sample_button = col1.button('Sample set of images with contextual description')
|
| 29 |
|
| 30 |
if sample_button:
|
|
@@ -40,8 +39,7 @@ if sample_button:
|
|
| 40 |
col2.image(images, width=175, caption=caps)
|
| 41 |
|
| 42 |
else:
|
| 43 |
-
|
| 44 |
-
|
| 45 |
index= int(col1.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
|
| 46 |
components.html(
|
| 47 |
"""
|
|
|
|
| 24 |
|
| 25 |
images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]
|
| 26 |
|
|
|
|
| 27 |
sample_button = col1.button('Sample set of images with contextual description')
|
| 28 |
|
| 29 |
if sample_button:
|
|
|
|
| 39 |
col2.image(images, width=175, caption=caps)
|
| 40 |
|
| 41 |
else:
|
| 42 |
+
col1.subheader(descr)
|
|
|
|
| 43 |
index= int(col1.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
|
| 44 |
components.html(
|
| 45 |
"""
|