Commit ca660b04 authored by duanjinfei's avatar duanjinfei

update model info struct

parent a55e7327
......@@ -43,9 +43,9 @@ type ModelResponse struct {
}
type HardwareRequire struct {
DiskSize int64 `json:"disk_size"`
DiskSize string `json:"disk_size"`
Gpus []*GpuInfo `json:"gpus"`
MemorySize int64 `json:"memory_size"`
MemorySize string `json:"memory_size"`
}
type GpuInfo struct {
......@@ -62,8 +62,6 @@ type ModelInfo struct {
Pwd string `json:"pwd"`
SignUrl string `json:"sign_url"`
ImageName string `json:"image_name"`
DiskSize int64 `json:"disk_size"`
MemorySize int64 `json:"memory_size"`
OutPutJson string `json:"out_put_json"`
FileExpiresTime string `json:"file_expires_time"`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment