Update main.py
Browse files
main.py
CHANGED
|
@@ -68,7 +68,7 @@ def api_call(input_text, model="internlm2.5-latest", temperature=0.8, top_p=0.9,
|
|
| 68 |
# 替换原有的 JupyterLab 安装和启动功能
|
| 69 |
def start_jupyterlab_process():
|
| 70 |
# 检查 start_jupyterlab.py 是否存在
|
| 71 |
-
jupyter_script = "
|
| 72 |
if not os.path.exists(jupyter_script):
|
| 73 |
return "无法找到 start_jupyterlab.py,请确保脚本存在于当前目录下。"
|
| 74 |
|
|
|
|
| 68 |
# 替换原有的 JupyterLab 安装和启动功能
|
| 69 |
def start_jupyterlab_process():
|
| 70 |
# 检查 start_jupyterlab.py 是否存在
|
| 71 |
+
jupyter_script = "/root/modelscope/start_jupyterlab.py"
|
| 72 |
if not os.path.exists(jupyter_script):
|
| 73 |
return "无法找到 start_jupyterlab.py,请确保脚本存在于当前目录下。"
|
| 74 |
|