Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def create_json_and_train():
|
|
| 106 |
|
| 107 |
if uploaded_file is not None:
|
| 108 |
uploaded_file_name = uploaded_file.name
|
| 109 |
-
uploaded_file_path = f"
|
| 110 |
with open(uploaded_file_path, "wb") as f:
|
| 111 |
f.write(uploaded_file.getbuffer())
|
| 112 |
df = pd.read_csv(uploaded_file)
|
|
|
|
| 106 |
|
| 107 |
if uploaded_file is not None:
|
| 108 |
uploaded_file_name = uploaded_file.name
|
| 109 |
+
uploaded_file_path = f"data/{uploaded_file_name}"
|
| 110 |
with open(uploaded_file_path, "wb") as f:
|
| 111 |
f.write(uploaded_file.getbuffer())
|
| 112 |
df = pd.read_csv(uploaded_file)
|