Spaces:
Runtime error
Runtime error
Commit
·
8aa9654
1
Parent(s):
8be5d25
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def imageInput(device, src):
|
|
13 |
current_dir = os.getcwd()
|
14 |
upload_path = os.path.join(current_dir, 'data/uploads')
|
15 |
output_path = os.path.join(current_dir, 'data/outputs')
|
16 |
-
os.makedirs(upload_path)
|
17 |
-
os.makedirs(output_path)
|
18 |
if src == 'Upload your own data.':
|
19 |
image_file = st.file_uploader("Upload An Image", type=['png', 'jpeg', 'jpg'])
|
20 |
col1, col2 = st.columns(2)
|
|
|
13 |
current_dir = os.getcwd()
|
14 |
upload_path = os.path.join(current_dir, 'data/uploads')
|
15 |
output_path = os.path.join(current_dir, 'data/outputs')
|
16 |
+
# os.makedirs(upload_path)
|
17 |
+
# os.makedirs(output_path)
|
18 |
if src == 'Upload your own data.':
|
19 |
image_file = st.file_uploader("Upload An Image", type=['png', 'jpeg', 'jpg'])
|
20 |
col1, col2 = st.columns(2)
|