fixed 群智熵汇聚

This commit is contained in:
xxq250 2024-11-08 13:35:23 +08:00
parent 25630ce40f
commit a247c3ae46
1 changed files with 11 additions and 11 deletions

View File

@ -145,17 +145,17 @@ module ProjectsHelper
url = EduSetting.get("ai_shang_url") || "https://shang.gitlink.org.cn"
case project.identifier.to_s.downcase
when nil then ""
when 'rails' then "#{url}/v1/rails/entropy"
when 'jittor' then "#{url}/v1/jittor/entropy"
when 'paddle' then "#{url}/v1/Paddle/entropy"
when 'vue' then "#{url}/v1/vue/entropy"
when 'bootstrap' then "#{url}/v1/bootstrap/entropy"
when 'tensorflow' then "#{url}/v1/tensorflow/entropy"
when 'kernel' then "#{url}/v1/openeuler/entropy"
when 'opengauss-server' then "#{url}/v1/opengauss/entropy"
when 'mindspore' then "#{url}/v1/mindspore/entropy"
when 'openharmony' then "#{url}/api/openharmony/entropy"
when 'openeuler' then "#{url}/api/openeuler/entropy"
# when 'rails' then "#{url}/v1/rails/entropy"
# when 'jittor' then "#{url}/v1/jittor/entropy"
# when 'paddle' then "#{url}/v1/Paddle/entropy"
# when 'vue' then "#{url}/v1/vue/entropy"
# when 'bootstrap' then "#{url}/v1/bootstrap/entropy"
# when 'tensorflow' then "#{url}/v1/tensorflow/entropy"
# when 'kernel' then "#{url}/v1/openeuler/entropy"
# when 'opengauss-server' then "#{url}/v1/opengauss/entropy"
# when 'mindspore' then "#{url}/v1/mindspore/entropy"
when 'openharmony-kernel' then "#{url}/api/openharmony/entropy"
when 'kernel' then "#{url}/api/openeuler/entropy"
when 'xiuos' then "#{url}/api/xiuos/entropy"
else ''
end