stability_sdk 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 401df5c1aa6c7c458a171cc6e7f437a420d56a17f394236c42afe6b7114986bc
4
- data.tar.gz: 744723a641d79456d255a0120118f8d218137d0901c760ede079d9dc51301f50
3
+ metadata.gz: b3c239513021649189e56964b9accdf59e00760ef106b691dd87a70d2715b357
4
+ data.tar.gz: 2acd179cffb5a3d583bc132c2769b83fcb93e159a02c37246c97f240f08f5026
5
5
  SHA512:
6
- metadata.gz: f37b8db84a96fb1df551ef789e43138eb80adb8e8540a7b3619e44b66bed7b193aeb704ab8099daaf64f761c3e92bfd90088faf3285c9a1ffc07a06e457ae20a
7
- data.tar.gz: 7b8b4bec82c39a5046bbe805e213fe5f4c5ddb0dd279352bd619768a711fc17a0254a958ddeac46d3835a76e75e7578ab11e82fdda9cb77d477d62ba5677c222
6
+ metadata.gz: 67e17b02652f760974041c5404ff6a6f2a8fdde7f812ff9d2219893733c5898f8d255873fccafdbb287ce1f41e77e063bdcf29a7c66ad356f0350f76c719c95a
7
+ data.tar.gz: 18cc7f68fb359296471d5d3257438ebd079b088f010667986dbc8878ee7c1a29cf95a9e7cbbeb008553439e04a38c2714d524c033b5dadfcfcccb18ff41de201
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stability_sdk (0.2.1)
4
+ stability_sdk (0.2.2)
5
5
  grpc (>= 1.0.0)
6
6
  mime-types (>= 3.0.0)
7
7
 
@@ -39,7 +39,7 @@ module StabilitySDK
39
39
  height = options.has_key?(:height) ? options[:height].to_i : DEFAULT_IMAGE_HEIGHT
40
40
  samples = options.has_key?(:num_samples) ? [:num_samples].to_i : DEFAULT_SAMPLE_SIZE
41
41
  steps = options.has_key?(:steps) ? options[:steps].to_i : DEFAULT_STEPS
42
- seed = options.has_key?(:seed) ? [options[:seed]] : [rand(4294967295)]
42
+ seed = options.has_key?(:seed) ? [options[:seed].to_i] : [rand(4294967295)]
43
43
  transform = Gooseai::TransformType.new(
44
44
  diffusion: options.has_key?(:sampler) ? sampler_algorithms[options[:sampler]] : DEFAULT_SAMPLER_ALGORITHM,
45
45
  )
@@ -1,3 +1,3 @@
1
1
  module StabilitySDK
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stability_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosei Moriyama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-09 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc