Spaces:
Sleeping
Sleeping
Commit ·
9db7250
1
Parent(s): 7c666af
update
Browse files
app.py
CHANGED
|
@@ -84,6 +84,9 @@ def create_temp_structure():
|
|
| 84 |
return temp_dir, test_folder, target_folder
|
| 85 |
|
| 86 |
st.title("Text Detection App")
|
|
|
|
|
|
|
|
|
|
| 87 |
uploaded_file = st.file_uploader("Choose an image file", type=["jpg", "jpeg", "png"])
|
| 88 |
|
| 89 |
if uploaded_file is not None:
|
|
|
|
| 84 |
return temp_dir, test_folder, target_folder
|
| 85 |
|
| 86 |
st.title("Text Detection App")
|
| 87 |
+
files = [f for f in os.listdir('.') if os.path.isfile(f)]
|
| 88 |
+
files_name = " || ".join(files)
|
| 89 |
+
st.write(file_names)
|
| 90 |
uploaded_file = st.file_uploader("Choose an image file", type=["jpg", "jpeg", "png"])
|
| 91 |
|
| 92 |
if uploaded_file is not None:
|