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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stability_sdk/client.rb +1 -1
- data/lib/stability_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3c239513021649189e56964b9accdf59e00760ef106b691dd87a70d2715b357
|
4
|
+
data.tar.gz: 2acd179cffb5a3d583bc132c2769b83fcb93e159a02c37246c97f240f08f5026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67e17b02652f760974041c5404ff6a6f2a8fdde7f812ff9d2219893733c5898f8d255873fccafdbb287ce1f41e77e063bdcf29a7c66ad356f0350f76c719c95a
|
7
|
+
data.tar.gz: 18cc7f68fb359296471d5d3257438ebd079b088f010667986dbc8878ee7c1a29cf95a9e7cbbeb008553439e04a38c2714d524c033b5dadfcfcccb18ff41de201
|
data/Gemfile.lock
CHANGED
data/lib/stability_sdk/client.rb
CHANGED
@@ -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
|
)
|
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.
|
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-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|