Spaces:
Build error
Build error
LawalAfeez
commited on
Commit
•
247ef7e
1
Parent(s):
a4ccfe0
Update app.py
Browse files
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.
|
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 |
|