vjain commited on
Commit
a7b587b
1 Parent(s): 4494cde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -43,13 +43,20 @@ df5["similarity"] = 0
43
  therapy = load_dataset('vjain/therapy')
44
  df6 = pd.DataFrame(therapy['train'])
45
  df6["similarity"] = 0
 
 
 
 
 
 
46
  dataframes = {
47
  "AP_Bio": df1,
48
  "AP_Physics": df2,
49
  "Personality" : df3,
50
  "AP_statistics": df4,
51
  "tax_embeddings": df5,
52
- "therapy": df6
 
53
  }
54
 
55
  #df = pd.read_csv("TA_embeddings.csv")
@@ -92,7 +99,7 @@ def reply(input, dataset_name):
92
 
93
  csv_dropdown = gr.inputs.Dropdown(
94
  label="Select the Book",
95
- choices=["AP_Bio", "AP_Physics","Personality","AP_statistics","tax_embeddings","therapy"],
96
  default="AP_Bio"
97
 
98
  )
 
43
  therapy = load_dataset('vjain/therapy')
44
  df6 = pd.DataFrame(therapy['train'])
45
  df6["similarity"] = 0
46
+
47
+ gurbani = load_dataset('vjain/gurbani')
48
+ df6 = pd.DataFrame(gurbani['train'])
49
+ df6["similarity"] = 0
50
+
51
+
52
  dataframes = {
53
  "AP_Bio": df1,
54
  "AP_Physics": df2,
55
  "Personality" : df3,
56
  "AP_statistics": df4,
57
  "tax_embeddings": df5,
58
+ "therapy": df6,
59
+ "gurbani":df7
60
  }
61
 
62
  #df = pd.read_csv("TA_embeddings.csv")
 
99
 
100
  csv_dropdown = gr.inputs.Dropdown(
101
  label="Select the Book",
102
+ choices=["AP_Bio", "AP_Physics","Personality","AP_statistics","tax_embeddings","therapy","gurbani"],
103
  default="AP_Bio"
104
 
105
  )