Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ import tiktoken
|
|
53 |
import pandas as pd
|
54 |
import tiktoken
|
55 |
|
56 |
-
print(f"
|
57 |
|
58 |
# Define the embedding model and the vectorstore
|
59 |
embedding_model = SentenceTransformerEmbeddings(model_name='thenlper/gte-large')
|
@@ -90,10 +90,11 @@ import zipfile
|
|
90 |
import os
|
91 |
import requests
|
92 |
|
93 |
-
|
94 |
-
|
|
|
95 |
repo_id = "kgauvin603/rag-10k"
|
96 |
file_path = "dataset"
|
97 |
# Get the URL for the file in the repository
|
98 |
file_url = f"https://huggingface.co/{repo_id}/resolve/main/{file_path}"
|
99 |
-
|
|
|
53 |
import pandas as pd
|
54 |
import tiktoken
|
55 |
|
56 |
+
print(f"Pass 1")
|
57 |
|
58 |
# Define the embedding model and the vectorstore
|
59 |
embedding_model = SentenceTransformerEmbeddings(model_name='thenlper/gte-large')
|
|
|
90 |
import os
|
91 |
import requests
|
92 |
|
93 |
+
print(f"Pass 2")
|
94 |
+
|
95 |
+
|
96 |
repo_id = "kgauvin603/rag-10k"
|
97 |
file_path = "dataset"
|
98 |
# Get the URL for the file in the repository
|
99 |
file_url = f"https://huggingface.co/{repo_id}/resolve/main/{file_path}"
|
100 |
+
print(file_url)
|