Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ import subprocess
|
|
77 |
# # Return the name of the file with the highest similarity score
|
78 |
# return files_names[max_similarity_idx]
|
79 |
def find_closest(query):
|
80 |
-
files_to_exclude = ["packages.txt", "requirements.txt"]
|
81 |
model = SentenceTransformer('all-MiniLM-L6-v2') # You can choose other models
|
82 |
|
83 |
files_contents = []
|
|
|
77 |
# # Return the name of the file with the highest similarity score
|
78 |
# return files_names[max_similarity_idx]
|
79 |
def find_closest(query):
|
80 |
+
files_to_exclude = ["packages.txt", "requirements.txt","pre-requirements.txt"]
|
81 |
model = SentenceTransformer('all-MiniLM-L6-v2') # You can choose other models
|
82 |
|
83 |
files_contents = []
|