Spaces:
Running
Running
Commit
·
58ad63b
1
Parent(s):
a10b606
fix safety check
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ def handle_image_upload_and_gallery_hf(uploaded_files):
|
|
| 296 |
else:
|
| 297 |
ind_small += 1
|
| 298 |
# Handle JPG/JPEG files (existing process)
|
| 299 |
-
# file_path = save_uploaded_file(st.session_state['dir_uploaded_images'], uploaded_file) ######### Yale
|
| 300 |
file_path = os.path.join(st.session_state['dir_uploaded_images'], uploaded_file.name)
|
| 301 |
|
| 302 |
st.session_state['input_list'].append(file_path)
|
|
|
|
| 296 |
else:
|
| 297 |
ind_small += 1
|
| 298 |
# Handle JPG/JPEG files (existing process)
|
| 299 |
+
# file_path = save_uploaded_file(st.session_state['dir_uploaded_images'], uploaded_file) ######### Yale TODO
|
| 300 |
file_path = os.path.join(st.session_state['dir_uploaded_images'], uploaded_file.name)
|
| 301 |
|
| 302 |
st.session_state['input_list'].append(file_path)
|