Spaces:
Sleeping
Sleeping
Victor Rivera
commited on
Commit
·
6973da5
1
Parent(s):
7b565ac
DataPath de HuggingFace
Browse files- dataBaseSetup.py +2 -2
dataBaseSetup.py
CHANGED
|
@@ -140,7 +140,7 @@ def main():
|
|
| 140 |
"order_items": "CSV/order_items.csv",
|
| 141 |
}
|
| 142 |
|
| 143 |
-
dataset = load_dataset('VicGerardoPR/InteractiveDatabseApp', data_files=data_paths)
|
| 144 |
|
| 145 |
|
| 146 |
# Import data to tables
|
|
@@ -151,6 +151,6 @@ def main():
|
|
| 151 |
conn.close()
|
| 152 |
else:
|
| 153 |
print("Failed to create database connection.")
|
| 154 |
-
|
| 155 |
if __name__ == '__main__':
|
| 156 |
main()
|
|
|
|
| 140 |
"order_items": "CSV/order_items.csv",
|
| 141 |
}
|
| 142 |
|
| 143 |
+
dataset = load_dataset('VicGerardoPR/InteractiveDatabseApp/CSV', data_files=data_paths)
|
| 144 |
|
| 145 |
|
| 146 |
# Import data to tables
|
|
|
|
| 151 |
conn.close()
|
| 152 |
else:
|
| 153 |
print("Failed to create database connection.")
|
| 154 |
+
|
| 155 |
if __name__ == '__main__':
|
| 156 |
main()
|