Curranj commited on
Commit
eaedc86
·
1 Parent(s): 3a8565f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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