Commit 731234e9 by 陈正乐

知识库初始化

parent fdacd7dd
...@@ -59,5 +59,3 @@ aaa/ ...@@ -59,5 +59,3 @@ aaa/
bbb/ bbb/
ccc/ ccc/
.env .env
faiss/
\ No newline at end of file
...@@ -12,6 +12,7 @@ services: ...@@ -12,6 +12,7 @@ services:
- ./lae_pg_data:/var/lib/postgresql/data - ./lae_pg_data:/var/lib/postgresql/data
- ./init_db/create_db.sql:/docker-entrypoint-initdb.d/create_db.sql - ./init_db/create_db.sql:/docker-entrypoint-initdb.d/create_db.sql
- ./init_db/create_table.sql:/docker-entrypoint-initdb.d/create_table.sql - ./init_db/create_table.sql:/docker-entrypoint-initdb.d/create_table.sql
- ./init_db/insert_data.sql:/docker-entrypoint-initdb.d/insert_data.sql
python: python:
build: build:
...@@ -21,8 +22,6 @@ services: ...@@ -21,8 +22,6 @@ services:
container_name: lae_python container_name: lae_python
ports: ports:
- "8003:8003" - "8003:8003"
volumes:
- .:/app
stdin_open: true stdin_open: true
tty: true tty: true
command: sh -c "cd src && python gradio_app.py" command: sh -c "cd src && python gradio_app.py"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment