mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
output default gpu & gpuType when present
This commit is contained in:
parent
318bc44f43
commit
9586bd9fd5
@ -39,7 +39,13 @@ export default function ServicesFields(): ReactElement {
|
|||||||
]
|
]
|
||||||
|
|
||||||
const computeEnvironmentOptions = [
|
const computeEnvironmentOptions = [
|
||||||
`Default: ${computeEnvironmentDefaults.cpu} CPU, ${computeEnvironmentDefaults.memory} memory, ${computeEnvironmentDefaults.volumeSize} disk`
|
`Default: ${computeEnvironmentDefaults.cpu} CPU, ${
|
||||||
|
computeEnvironmentDefaults.gpu > 0
|
||||||
|
? `${computeEnvironmentDefaults.gpu} ${computeEnvironmentDefaults.gpuType} GPU, `
|
||||||
|
: ''
|
||||||
|
} ${computeEnvironmentDefaults.memory} memory, ${
|
||||||
|
computeEnvironmentDefaults.volumeSize
|
||||||
|
} disk`
|
||||||
]
|
]
|
||||||
|
|
||||||
// Auto-change access type based on algo privacy boolean.
|
// Auto-change access type based on algo privacy boolean.
|
||||||
|
Loading…
Reference in New Issue
Block a user