Commit fb7c5f1b authored by kurumuz's avatar kurumuz

fix

parent 96ac3de2
......@@ -73,6 +73,10 @@ class Masker(TypedDict):
seed: int
mask: str
class Tags(TypedDict):
tag: str
count: int
class GenerationRequest(BaseModel):
prompt: str
image: str = None
......@@ -104,7 +108,7 @@ class TextRequest(BaseModel):
prompt: str
class TagOutput(BaseModel):
tags: List[List[str, int]]
tags: List[Tags]
class TextOutput(BaseModel):
is_safe: str
......
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