mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 22:29:25 +08:00
up
This commit is contained in:
@@ -216,7 +216,7 @@ class App:
|
||||
if data and data[0]:
|
||||
lines = data[0].strip().split('\n')
|
||||
for i, line in enumerate(lines):
|
||||
if i < 2:
|
||||
if i < 1:
|
||||
continue
|
||||
line = line.strip()
|
||||
if not line:
|
||||
|
||||
@@ -7,6 +7,8 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(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
|
||||
type=$2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user