Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,8 @@ texts = text_splitter.split_documents(docs)
|
|
65 |
embedding_model = Embedding(model_name="BAAI/bge-base-en", max_length=512)
|
66 |
embeddings = list(embedding_model.embed([text.page_content for text in texts]))
|
67 |
|
|
|
|
|
68 |
with gr.Blocks() as demo:
|
69 |
chatbot = gr.Chatbot()
|
70 |
msg = gr.Textbox()
|
|
|
65 |
embedding_model = Embedding(model_name="BAAI/bge-base-en", max_length=512)
|
66 |
embeddings = list(embedding_model.embed([text.page_content for text in texts]))
|
67 |
|
68 |
+
print(embeddings)
|
69 |
+
|
70 |
with gr.Blocks() as demo:
|
71 |
chatbot = gr.Chatbot()
|
72 |
msg = gr.Textbox()
|