Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,8 @@ with st.sidebar:
|
|
116 |
remove_old_files()
|
117 |
|
118 |
if uploaded_file:
|
119 |
-
filepath = "data/
|
|
|
120 |
with open(filepath, "wb") as f:
|
121 |
f.write(uploaded_file.getbuffer())
|
122 |
|
|
|
116 |
remove_old_files()
|
117 |
|
118 |
if uploaded_file:
|
119 |
+
filepath = f"data/{uploaded_file.name}"
|
120 |
+
print(filepath)
|
121 |
with open(filepath, "wb") as f:
|
122 |
f.write(uploaded_file.getbuffer())
|
123 |
|