Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ with st.sidebar:
|
|
119 |
remove_old_files()
|
120 |
|
121 |
if uploaded_file:
|
122 |
-
filepath = os.path.join(
|
123 |
with open(filepath, "wb") as f:
|
124 |
f.write(uploaded_file.getbuffer())
|
125 |
|
|
|
119 |
remove_old_files()
|
120 |
|
121 |
if uploaded_file:
|
122 |
+
filepath = os.path.join("data", uploaded_file.name)
|
123 |
with open(filepath, "wb") as f:
|
124 |
f.write(uploaded_file.getbuffer())
|
125 |
|