Comments (3)
csghub-server服务端接口支持中文文件夹路径,前端页面请求的时候需要对path的参数内容进行url编码 @hiveer @zhendi
http://localhost:8080/api/v1/datasets/taylor/dataset/tree?path=%E4%B8%AD%E6%96%87%E6%96%87%E4%BB%B6%E5%A4%B9
http://localhost:8080/api/v1/datasets/taylor/dataset/tree?path=中文文件夹
会返回正确的内容
{
"msg": "OK",
"data": [
{
"name": "wechat_group.jpg",
"type": "file",
"lfs": false,
"size": 119015,
"commit": {
"id": "526df2f000a994149d09dc3bfa9d94fafde6b697",
"committer_name": "",
"committer_email": "",
"committer_date": "2024-01-18 02:39:29 +0000 UTC",
"created_at": "",
"message": "Upload files to \"中文文件夹\"\n",
"author_name": "",
"author_email": "",
"authored_date": ""
},
"path": "中文文件夹/wechat_group.jpg",
"mode": "100644",
"sha": "526df2f000a994149d09dc3bfa9d94fafde6b697",
"url": "http://localhost:3001/datasets_taylor/dataset/raw/branch/main/%E4%B8%AD%E6%96%87%E6%96%87%E4%BB%B6%E5%A4%B9%2Fwechat_group.jpg",
"download_url": "http://localhost:3001/datasets_taylor/dataset/raw/branch/main/%E4%B8%AD%E6%96%87%E6%96%87%E4%BB%B6%E5%A4%B9%2Fwechat_group.jpg",
"content": "",
"lfs_relative_path": ""
}
]
}
from csghub.
修复已合并到 main 分支,可以拉取最新代码更新修复此问题。如果使用的是 all-in-one 镜像,更新会有滞后,请等待镜像更新后再试,或者去 SaaS 版体验:https://portal.opencsg.com/
from csghub.
镜像已更新,最新portal镜像修复改问题。
from csghub.
Related Issues (13)
- Failed to download csghub artifact. HOT 6
- Need a functional video for this project HOT 2
- 可以不用docker 部署么? HOT 2
- 您好,请问份开源版本与企业版本吗? HOT 1
- git clone 下载模型时无法看到下载进度 HOT 2
- 记录快速安装时遇到的一些问题,方便大家交流
- 使用过程中创建组织必须上传输logo,上传无效无法创建组织 HOT 3
- 离线无网络环境部署问题 HOT 2
- docker 无法查看opencsg-nginx-1组件的日志 HOT 2
- 创建模型和数据集的时候,会有报错,但是会刷掉,然后创建成功 HOT 3
- 在腾讯云 ubuntu 系统中使用 docker compose 拉起项目,git server 不断重启 HOT 3
- CSGHub是否支持Xinference大模型下载 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csghub.