Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ x = st.slider('Select a value')
|
|
5 |
st.write(x, 'squared is', x * x)
|
6 |
|
7 |
|
8 |
-
path = './
|
9 |
|
10 |
# Check if the directory already exists
|
11 |
if not os.path.exists(path):
|
@@ -25,8 +25,6 @@ if uploaded_file is not None:
|
|
25 |
st.success("Saved File")
|
26 |
|
27 |
|
28 |
-
# Specify the directory path
|
29 |
-
directory_path = 'path/to/directory'
|
30 |
|
31 |
# List all files in directory and subdirectories
|
32 |
files = []
|
|
|
5 |
st.write(x, 'squared is', x * x)
|
6 |
|
7 |
|
8 |
+
path = './'
|
9 |
|
10 |
# Check if the directory already exists
|
11 |
if not os.path.exists(path):
|
|
|
25 |
st.success("Saved File")
|
26 |
|
27 |
|
|
|
|
|
28 |
|
29 |
# List all files in directory and subdirectories
|
30 |
files = []
|