Hjayswal commited on
Commit
dcc3849
1 Parent(s): 5c20e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,7 +85,7 @@ elif nav == "Text2SQL":
85
 
86
  # Import Data
87
 
88
- df_qna = pd.read_csv("qnacsv.csv", encoding= 'unicode_escape')
89
 
90
  st.title("")
91
 
@@ -109,7 +109,7 @@ elif nav == "Text2SQL":
109
 
110
  # text = "what interface is measure indicator code = 72_HR_ABX and version is 1 and source is TD"
111
  table_name = "df_qna"
112
- table_col = ["Type","Class_Code", "Version","Measure_Indicator_Code","Measure_Indicator","Name","Description_Definition", "Source", "Interfaces"]
113
 
114
  txt_sql = inference(question=sql_txt, table=table_col)
115
 
 
85
 
86
  # Import Data
87
 
88
+ df_qna = pd.read_csv("data.csv", encoding= 'unicode_escape')
89
 
90
  st.title("")
91
 
 
109
 
110
  # text = "what interface is measure indicator code = 72_HR_ABX and version is 1 and source is TD"
111
  table_name = "df_qna"
112
+ table_col = ["Patient_Name","Country","Disease","CUI","Snomed","Oxygen_Rate","Med_Type","Admission_Date"]
113
 
114
  txt_sql = inference(question=sql_txt, table=table_col)
115