Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from lmdeploy.serve.gradio.turbomind_coupled import run_local
|
|
| 2 |
from lmdeploy.messages import TurbomindEngineConfig
|
| 3 |
|
| 4 |
backend_config = TurbomindEngineConfig(max_batch_size=8)
|
| 5 |
-
model_path = '
|
| 6 |
run_local(model_path, backend_config=backend_config, server_name="huggingface-space")
|
| 7 |
|
| 8 |
# import gradio as gr
|
|
|
|
| 2 |
from lmdeploy.messages import TurbomindEngineConfig
|
| 3 |
|
| 4 |
backend_config = TurbomindEngineConfig(max_batch_size=8)
|
| 5 |
+
model_path = 'pretrain_model/internlm2-chat-7b'
|
| 6 |
run_local(model_path, backend_config=backend_config, server_name="huggingface-space")
|
| 7 |
|
| 8 |
# import gradio as gr
|