From 4e68fa981c99453be9049d049be566db65fd7b45 Mon Sep 17 00:00:00 2001 From: bboatnk <54280354+arbruzaz@users.noreply.github.com> Date: Fri, 28 Apr 2023 13:44:10 +0700 Subject: [PATCH 1/3] Create config.json --- config.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..35650d1 --- /dev/null +++ b/config.json @@ -0,0 +1,25 @@ +{ + "input": [ + { + "name": "promts", + "type" : "str", + "description" : "text to image", + "default" : "prime minister of thailand" + }, + { + "name" : "num_inference_steps", + "type" : "int", + "default" : 25, + "optional" : { + "ge" : 1, + "le" : 100 + } + } + ], + "output" : + { + "name": "items", + "type" : "string" + } + + } From 6a9f87ecabd106138dd12148bfe6a23fcd35810a Mon Sep 17 00:00:00 2001 From: bboatnk <54280354+arbruzaz@users.noreply.github.com> Date: Fri, 28 Apr 2023 13:57:11 +0700 Subject: [PATCH 2/3] Update config.json --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 35650d1..73c86d9 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "input": [ { - "name": "promts", + "name": "prompt", "type" : "str", "description" : "text to image", "default" : "prime minister of thailand" From dc19645d75dfce75a51bb379fdd9403b5e348799 Mon Sep 17 00:00:00 2001 From: bboatnk <54280354+arbruzaz@users.noreply.github.com> Date: Fri, 28 Apr 2023 14:13:31 +0700 Subject: [PATCH 3/3] Update config.json --- config.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/config.json b/config.json index 73c86d9..a5829e6 100644 --- a/config.json +++ b/config.json @@ -5,16 +5,7 @@ "type" : "str", "description" : "text to image", "default" : "prime minister of thailand" - }, - { - "name" : "num_inference_steps", - "type" : "int", - "default" : 25, - "optional" : { - "ge" : 1, - "le" : 100 - } - } + } ], "output" : {