Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cog-anytext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanjinfei
cog-anytext
Commits
1f37ab75
Commit
1f37ab75
authored
Jul 19, 2024
by
duanjinfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update predict.py
parent
e7dd8ba0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
predict.py
predict.py
+3
-3
No files found.
predict.py
View file @
1f37ab75
...
...
@@ -28,12 +28,12 @@ class Predictor(BasePredictor):
seed
:
int
=
Input
(
description
=
""
,
default
=
66273235
,
ge
=
0
,
le
=
66273235
),
draw_pos
:
Path
=
Input
(
description
=
""
,
default
=
'https://replicate.delivery/pbxt/
WwkQofrF9CQuJ6v3slDfyha3YB1teWJpnWLBsVSdvfeFh2tRC/image_0
.png'
),
description
=
""
,
default
=
'https://replicate.delivery/pbxt/
LIHKXdjxOWFe7HqP1rliIsghRab48EVQRzGNwQ9RgyO5V03d/gen9
.png'
),
ori_image
:
Path
=
Input
(
description
=
""
,
default
=
'https://replicate.delivery/pbxt/
0eNDe5B73njlkkSJfJeZ4Riiww3OYci679bnbaf0cNzLh2tRC/image_1
.png'
),
description
=
""
,
default
=
'https://replicate.delivery/pbxt/
LIHMZ8cCvmndHNVufiSuKZA4mnokuSOy87cYqhvs4Diei7sL/edit9
.png'
),
use_fp32
:
bool
=
Input
(
description
=
""
,
default
=
False
),
no_translator
:
bool
=
Input
(
description
=
""
,
default
=
False
),
)
->
List
[
str
]:
)
->
List
[
Path
]:
input_data
=
{}
if
mode
==
"text-generation"
:
input_data
=
{
...
...
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