LawalAfeez commited on
Commit
247ef7e
1 Parent(s): a4ccfe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import gradio as gr
2
  from data_library import embedded_form
 
3
 
4
  import faiss
5
  embedded_form=embedded_form["train"]
6
- embedded_form.load_faiss_index('embeddings', 'my_index.faiss')
7
 
8
 
9
 
 
1
  import gradio as gr
2
  from data_library import embedded_form
3
+ import pandas as pd
4
 
5
  import faiss
6
  embedded_form=embedded_form["train"]
7
+ embedded_form.add_faiss_index("embedding")
8
 
9
 
10