File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
from inflection import underscore
6
6
from modules .processing import StableDiffusionProcessingTxt2Img , StableDiffusionProcessingImg2Img
7
7
from modules .shared import sd_upscalers , opts , parser
8
- from typing import List
8
+ from typing import Dict , List
9
9
10
10
API_NOT_ALLOWED = [
11
11
"self" ,
@@ -193,8 +193,8 @@ class ProgressResponse(BaseModel):
193
193
194
194
class SamplerItem (BaseModel ):
195
195
name : str = Field (title = "Name" )
196
- aliases : list [str ] = Field (title = "Aliases" )
197
- options : dict [str , str ] = Field (title = "Options" )
196
+ aliases : List [str ] = Field (title = "Aliases" )
197
+ options : Dict [str , str ] = Field (title = "Options" )
198
198
199
199
class UpscalerItem (BaseModel ):
200
200
name : str = Field (title = "Name" )
@@ -230,4 +230,4 @@ class PromptStyleItem(BaseModel):
230
230
class ArtistItem (BaseModel ):
231
231
name : str = Field (title = "Name" )
232
232
score : float = Field (title = "Score" )
233
- category : str = Field (title = "Category" )
233
+ category : str = Field (title = "Category" )
You can’t perform that action at this time.
0 commit comments