Commit d455e0b0 by 陈正乐

配置更改

parent a5aa7eae
......@@ -21,6 +21,8 @@ services:
container_name: lae_python
ports:
- "8003:8003"
volumes:
- .:/app
stdin_open: true
tty: true
command: sh -c "cd src && python gradio_app.py"
......
......@@ -19,3 +19,5 @@ faiss-cpu==1.7.2 # https://github.com/facebookresearch/faiss/blob/main/INSTALL.m
gradio==3.48.0
qianfan==0.3.13.1
modelscope==1.14.0
wkhtmltopdf==0.2
pdfkit==1.0.0
\ No newline at end of file
......@@ -66,4 +66,4 @@ NLP_BERT_PATH = 'C:\\Users\\15663\\AI\\models\\nlp_bert_document-segmentation_ch
# =============================
# ICON配置
# =============================
ICON_PATH = '/app/test/icon'
\ No newline at end of file
ICON_PATH = '/app/src/icon'
\ No newline at end of file
......@@ -228,7 +228,7 @@ def main():
# reset_text, [], input_text
# )
demo.queue().launch(share=False, inbrowser=True, server_name='192.168.22.32', server_port=8888)
demo.queue().launch(share=False, inbrowser=True, server_name='0.0.0.0', server_port=GR_PORT)
if __name__ == "__main__":
......
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