chukbert commited on
Commit
a2a19de
·
verified ·
1 Parent(s): e64f669

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
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()