Update app.py
#3
by
Jatila
- opened
app.py
CHANGED
|
@@ -1,7 +1,12 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
|
|
|
|
| 5 |
def respond(
|
| 6 |
message,
|
| 7 |
history: list[dict[str, str]],
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import faiss
|
| 3 |
+
import pickle
|
| 4 |
+
from sentence_transformers import SentenceTransformer
|
| 5 |
+
import numpy as np
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
|
| 8 |
|
| 9 |
+
|
| 10 |
def respond(
|
| 11 |
message,
|
| 12 |
history: list[dict[str, str]],
|