Skip to content

Commit

Permalink
fix pai service template
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao201208 committed Nov 7, 2023
1 parent a329d01 commit 66f41a6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions documents/solution/ai/pai-ai-painting-solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,22 @@ Resources:
Ref: NasAccessGroup
DependsOn:
- NasAccessRule
RandomString:
Type: ALIYUN::RandomString
Properties:
length: 10
character_classes:
- class: lowercase
min: 1
- class: digits
min: 1
Pai-Eas:
Type: ALIYUN::PAI::Service
Properties:
ServiceConfig:
metadata:
name: sdwebui
name:
Fn::Sub: sdwebui_${RandomString.value}
instance: 1
type: SDCluster
enable_webservice: true
Expand Down Expand Up @@ -172,4 +182,4 @@ Metadata:
- ZoneId
- InstanceType
TemplateTags:
- acs:technical-solution:ai:PAI AI绘画解决方案
- acs:technical-solution:ai:使用PAI完成Stable Diffusion WebUI多版本个性化部署服务

0 comments on commit 66f41a6

Please sign in to comment.