navid72m commited on
Commit
ef0480b
1 Parent(s): 28bbe74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ import os
10
 
11
  from sklearn.feature_extraction.text import TfidfVectorizer
12
  from sklearn.metrics.pairwise import cosine_similarity
13
- from datasets import load_dataset
14
- from transformers import AutoTokenizer, AutoModelForCausalLM
15
  my_token = os.getenv('my_repo_token')
16
  def find_most_relevant_context(contexts, question, max_features=10000):
17
  # Vectorize contexts and question with limited features
 
10
 
11
  from sklearn.feature_extraction.text import TfidfVectorizer
12
  from sklearn.metrics.pairwise import cosine_similarity
13
+
14
+
15
  my_token = os.getenv('my_repo_token')
16
  def find_most_relevant_context(contexts, question, max_features=10000):
17
  # Vectorize contexts and question with limited features