Spaces:
Running
Running
Commit
·
c3e4ae3
1
Parent(s):
3bb3535
update
Browse files
app.py
CHANGED
|
@@ -1256,12 +1256,6 @@ def content_header():
|
|
| 1256 |
st.subheader('Run VoucherVision')
|
| 1257 |
N_STEPS = 6
|
| 1258 |
|
| 1259 |
-
if determine_n_images():
|
| 1260 |
-
st.session_state['processing_add_on'] = f" {determine_n_images()} Images"
|
| 1261 |
-
else:
|
| 1262 |
-
st.session_state['processing_add_on'] = ''
|
| 1263 |
-
print(f"HERE --- {st.session_state['processing_add_on']}")
|
| 1264 |
-
|
| 1265 |
if check_if_usable():
|
| 1266 |
if st.button(f"Start Processing{st.session_state['processing_add_on']}", type='primary'):
|
| 1267 |
|
|
@@ -1435,6 +1429,12 @@ def content_tab_settings():
|
|
| 1435 |
st.session_state['input_list_small'].append(file_path_small)
|
| 1436 |
print(uploaded_file.name)
|
| 1437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1438 |
with col_local_2:
|
| 1439 |
if st.session_state['input_list_small']:
|
| 1440 |
st.subheader('Image Gallery')
|
|
|
|
| 1256 |
st.subheader('Run VoucherVision')
|
| 1257 |
N_STEPS = 6
|
| 1258 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1259 |
if check_if_usable():
|
| 1260 |
if st.button(f"Start Processing{st.session_state['processing_add_on']}", type='primary'):
|
| 1261 |
|
|
|
|
| 1429 |
st.session_state['input_list_small'].append(file_path_small)
|
| 1430 |
print(uploaded_file.name)
|
| 1431 |
|
| 1432 |
+
if determine_n_images():
|
| 1433 |
+
st.session_state['processing_add_on'] = f" {determine_n_images()} Images"
|
| 1434 |
+
else:
|
| 1435 |
+
st.session_state['processing_add_on'] = ''
|
| 1436 |
+
print(f"HERE --- {st.session_state['processing_add_on']}")
|
| 1437 |
+
|
| 1438 |
with col_local_2:
|
| 1439 |
if st.session_state['input_list_small']:
|
| 1440 |
st.subheader('Image Gallery')
|