Spaces:
Running
Running
vlff李飞飞
commited on
Commit
·
6007e64
1
Parent(s):
6bcbc6d
update oai
Browse files- Dockerfile +1 -1
- qwen_server/server_config.json +1 -1
Dockerfile
CHANGED
@@ -12,4 +12,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
12 |
COPY . .
|
13 |
RUN mkdir -p .cache/huggingface/models--Qwen--Qwen-1_8B-Chat && mkdir -p ./.cache/huggingface/models--Qwen--Qwen-1_8B-Chat
|
14 |
RUN chmod 777 -R ./* && chmod 777 -R ./.cache/*
|
15 |
-
CMD ["python", "run_server.py", "--llm", "Qwen/Qwen-1_8B-Chat", "--
|
|
|
12 |
COPY . .
|
13 |
RUN mkdir -p .cache/huggingface/models--Qwen--Qwen-1_8B-Chat && mkdir -p ./.cache/huggingface/models--Qwen--Qwen-1_8B-Chat
|
14 |
RUN chmod 777 -R ./* && chmod 777 -R ./.cache/*
|
15 |
+
CMD ["python", "run_server.py", "--llm", "Qwen/Qwen-1_8B-Chat", "--server_host", "0.0.0.0"]
|
qwen_server/server_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"path": {"work_space_root": "workspace/", "cache_root": "workspace/browser_cache/", "download_root": "workspace/download/", "code_interpreter_ws": "workspace/ci_workspace/"}, "server": {"server_host": "127.0.0.1", "fast_api_port": 7866, "app_in_browser_port":
|
|
|
1 |
+
{"path": {"work_space_root": "workspace/", "cache_root": "workspace/browser_cache/", "download_root": "workspace/download/", "code_interpreter_ws": "workspace/ci_workspace/"}, "server": {"server_host": "127.0.0.1", "fast_api_port": 7866, "app_in_browser_port": 7860, "workstation_port": 7864, "model_server": "dashscope", "api_key": "", "llm": "qwen-plus", "max_ref_token": 4000, "max_days": 7}}
|