Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,11 +106,5 @@ if __name__ == "__main__":
|
|
106 |
questions = df['question'].tolist()
|
107 |
answers = df['answer'].tolist()
|
108 |
|
109 |
-
from huggingface_hub import hf_hub_download
|
110 |
-
|
111 |
-
faiss_index_path = hf_hub_download(repo_id="chukbert/embedding-faq-medquad", filename="faiss.index")
|
112 |
-
embeddings_path = hf_hub_download(repo_id="chukbert/embedding-faq-medquad", filename="embeddings.pkl")
|
113 |
-
|
114 |
-
|
115 |
print(f"Loaded questions and answers. Number of questions: {len(questions)}, Number of answers: {len(answers)}")
|
116 |
demo.launch()
|
|
|
106 |
questions = df['question'].tolist()
|
107 |
answers = df['answer'].tolist()
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
print(f"Loaded questions and answers. Number of questions: {len(questions)}, Number of answers: {len(answers)}")
|
110 |
demo.launch()
|