Spaces:
Running
Running
vlff李飞飞
commited on
Commit
·
e9644a0
1
Parent(s):
caaf00f
update oai
Browse files
qwen_server/database_server.py
CHANGED
@@ -102,12 +102,12 @@ async def web_listening(request: Request):
|
|
102 |
|
103 |
|
104 |
import gradio as gr
|
105 |
-
from qwen_server.workstation_server import demo as workstation_app
|
106 |
from qwen_server.assistant_server import demo as assistant_app
|
107 |
|
108 |
-
|
109 |
app = gr.mount_gradio_app(app, assistant_app, path="/")
|
110 |
-
|
111 |
|
112 |
if __name__ == '__main__':
|
113 |
uvicorn.run(app='database_server:app',
|
|
|
102 |
|
103 |
|
104 |
import gradio as gr
|
105 |
+
# from qwen_server.workstation_server import demo as workstation_app
|
106 |
from qwen_server.assistant_server import demo as assistant_app
|
107 |
|
108 |
+
# app = gr.mount_gradio_app(app, workstation_app, path="/workstation")
|
109 |
app = gr.mount_gradio_app(app, assistant_app, path="/")
|
110 |
+
|
111 |
|
112 |
if __name__ == '__main__':
|
113 |
uvicorn.run(app='database_server:app',
|
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": "
|
|
|
1 |
+
{"path": {"work_space_root": "workspace/", "cache_root": "workspace/browser_cache/", "download_root": "workspace/download/", "code_interpreter_ws": "workspace/ci_workspace/"}, "server": {"server_host": "0.0.0.0", "fast_api_port": 7860, "app_in_browser_port": 7863, "workstation_port": 7864, "model_server": "http://127.0.0.1:7905/v1", "api_key": "", "llm": "Qwen/Qwen-1_8B-Chat", "max_ref_token": 4000, "max_days": 7}}
|
workspace/browser_cache/popup_url.jsonl
CHANGED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"url": "https://huggingface.co/transformers/v4.0.1/installation.html"}
|