Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,8 @@ def greet(prompt, file = None):
|
|
53 |
# extract the table name so it can be used in the SQL query
|
54 |
# in order to get the table name, we need to remove the file extension
|
55 |
|
56 |
-
table_name =
|
|
|
57 |
|
58 |
|
59 |
|
|
|
53 |
# extract the table name so it can be used in the SQL query
|
54 |
# in order to get the table name, we need to remove the file extension
|
55 |
|
56 |
+
table_name = os.path.splitext(os.path.basename(file_path.name))[0]
|
57 |
+
|
58 |
|
59 |
|
60 |
|