mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
up
This commit is contained in:
@@ -216,7 +216,7 @@ class App:
|
|||||||
if data and data[0]:
|
if data and data[0]:
|
||||||
lines = data[0].strip().split('\n')
|
lines = data[0].strip().split('\n')
|
||||||
for i, line in enumerate(lines):
|
for i, line in enumerate(lines):
|
||||||
if i < 2:
|
if i < 1:
|
||||||
continue
|
continue
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if not line:
|
if not line:
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
|
|
||||||
|
# cd /www/server/mdserver-web && source /www/server/mdserver-web/bin/activate && python3 /www/server/mdserver-web/plugins/ollama/index.py get_ai_model_list 1.0
|
||||||
|
|
||||||
action=$1
|
action=$1
|
||||||
type=$2
|
type=$2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user