fixed filenames
Browse files
app.py
CHANGED
@@ -451,12 +451,12 @@ def setup_mapper():
|
|
451 |
|
452 |
url = "https://huggingface.co/datasets/m7n/intermediate_sci_pickle/resolve/main/100k_filtered_OA_sample_cluster_and_positions_supervised.pkl"
|
453 |
response = requests.get(url)
|
454 |
-
with open("
|
455 |
f.write(response.content)
|
456 |
|
457 |
url = "https://huggingface.co/datasets/m7n/intermediate_sci_pickle/resolve/main/umap_mapper_250k_random_OA_discipline_tuned_specter_2_params.pkl"
|
458 |
response = requests.get(url)
|
459 |
-
with open("
|
460 |
f.write(response.content)
|
461 |
|
462 |
|
|
|
451 |
|
452 |
url = "https://huggingface.co/datasets/m7n/intermediate_sci_pickle/resolve/main/100k_filtered_OA_sample_cluster_and_positions_supervised.pkl"
|
453 |
response = requests.get(url)
|
454 |
+
with open("100k_filtered_OA_sample_cluster_and_positions_supervised.pkl", "wb") as f:
|
455 |
f.write(response.content)
|
456 |
|
457 |
url = "https://huggingface.co/datasets/m7n/intermediate_sci_pickle/resolve/main/umap_mapper_250k_random_OA_discipline_tuned_specter_2_params.pkl"
|
458 |
response = requests.get(url)
|
459 |
+
with open("umap_mapper_250k_random_OA_discipline_tuned_specter_2_params.pkl", "wb") as f:
|
460 |
f.write(response.content)
|
461 |
|
462 |
|