Spaces:
Running
Running
Commit
·
0560c52
1
Parent(s):
b9673e0
Major update. Support for 15 LLMs, World Flora Online taxonomy validation, geolocation, 2 OCR methods, significant UI changes, stability improvements, consistent JSON parsing
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ def count_jpg_images(directory_path):
|
|
| 194 |
return jpg_count
|
| 195 |
|
| 196 |
|
| 197 |
-
def create_download_button(zip_filepath, col):
|
| 198 |
with col:
|
| 199 |
labal_n_images = f"Download Results for {st.session_state['processing_add_on']} Images"
|
| 200 |
with open(zip_filepath, 'rb') as f:
|
|
@@ -205,7 +205,7 @@ def create_download_button(zip_filepath, col):
|
|
| 205 |
data=bytes_io,
|
| 206 |
file_name=os.path.basename(zip_filepath),
|
| 207 |
mime='application/zip',
|
| 208 |
-
use_container_width=True,key=
|
| 209 |
)
|
| 210 |
|
| 211 |
|
|
|
|
| 194 |
return jpg_count
|
| 195 |
|
| 196 |
|
| 197 |
+
def create_download_button(zip_filepath, col, key):
|
| 198 |
with col:
|
| 199 |
labal_n_images = f"Download Results for {st.session_state['processing_add_on']} Images"
|
| 200 |
with open(zip_filepath, 'rb') as f:
|
|
|
|
| 205 |
data=bytes_io,
|
| 206 |
file_name=os.path.basename(zip_filepath),
|
| 207 |
mime='application/zip',
|
| 208 |
+
use_container_width=True,key=key,
|
| 209 |
)
|
| 210 |
|
| 211 |
|