Upload app.py
Browse files
app.py
CHANGED
@@ -113,8 +113,9 @@ elif nav == "Text2SQL":
|
|
113 |
|
114 |
# text = "what interface is measure indicator code = 72_HR_ABX and version is 1 and source is TD"
|
115 |
table_name = "df_qna"
|
|
|
116 |
|
117 |
-
txt_sql = inference(question=sql_txt, table=
|
118 |
|
119 |
|
120 |
### SQL Modification
|
|
|
113 |
|
114 |
# text = "what interface is measure indicator code = 72_HR_ABX and version is 1 and source is TD"
|
115 |
table_name = "df_qna"
|
116 |
+
table_column = ['Patient_Name', 'Country', 'Disease', 'CUI', 'Snomed', 'Oxygen_Rate','Med_Type', 'Admission_Date']
|
117 |
|
118 |
+
txt_sql = inference(question=sql_txt, table=table_column)
|
119 |
|
120 |
|
121 |
### SQL Modification
|