Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
H
Hydra Node Http
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Hydra Node Http
Commits
fb7c5f1b
Commit
fb7c5f1b
authored
Sep 26, 2022
by
kurumuz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
96ac3de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
main.py
main.py
+5
-1
No files found.
main.py
View file @
fb7c5f1b
...
@@ -73,6 +73,10 @@ class Masker(TypedDict):
...
@@ -73,6 +73,10 @@ class Masker(TypedDict):
seed
:
int
seed
:
int
mask
:
str
mask
:
str
class
Tags
(
TypedDict
):
tag
:
str
count
:
int
class
GenerationRequest
(
BaseModel
):
class
GenerationRequest
(
BaseModel
):
prompt
:
str
prompt
:
str
image
:
str
=
None
image
:
str
=
None
...
@@ -104,7 +108,7 @@ class TextRequest(BaseModel):
...
@@ -104,7 +108,7 @@ class TextRequest(BaseModel):
prompt
:
str
prompt
:
str
class
TagOutput
(
BaseModel
):
class
TagOutput
(
BaseModel
):
tags
:
List
[
List
[
str
,
int
]
]
tags
:
List
[
Tags
]
class
TextOutput
(
BaseModel
):
class
TextOutput
(
BaseModel
):
is_safe
:
str
is_safe
:
str
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment