momegas commited on
Commit
17b9777
1 Parent(s): 6a2b269

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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()