Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from langchain_community.retrievers import BM25Retriever
|
|
| 12 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 13 |
"""
|
| 14 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 15 |
-
|
| 16 |
# Pre-processing
|
| 17 |
def preprocess_for_bm25(text):
|
| 18 |
# Replace "..." with a unique placeholder
|
|
|
|
| 12 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 13 |
"""
|
| 14 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 15 |
+
df1 = pd.read_csv("./data/champions_data_lol.csv")
|
| 16 |
# Pre-processing
|
| 17 |
def preprocess_for_bm25(text):
|
| 18 |
# Replace "..." with a unique placeholder
|