stability_sdk 0.2.4 → 0.2.5

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: ef7bdad79d5b8b0a6be79a50f2a26d66fa3f907a1035be4fe3b26512bb2d5f95
4
- data.tar.gz: 618fa88c26a36f52b5e6a4f75bd46b7060b09e2e85e49dc13a802c3139ed8277
3
+ metadata.gz: 452e6a45ca110b36eb3d6fafa4201a1be7ad4b6e0b6f677fe37f6a66fc8f5749
4
+ data.tar.gz: 1b73ee6ab82c18f63e786d71b2eee472e0db32572c4444ef5b3d5ac92003e3e7
5
5
  SHA512:
6
- metadata.gz: cff3f2786098d254d5c24f263895bcfeac39e1e07e1d50a041cae5cdf95d8b80e07a1294f1d43211fc304a05fc15f890b2542d5a0f1c0198626053c76a5f9f07
7
- data.tar.gz: a15e2e10665fd4fed95f5417633a53c6f6c5f55caeeb5d40f8eb7239c66d3b922d99880685d9debb376895989478a46bd4f6ad0c1eccf8d5446a072e3f0e1566
6
+ metadata.gz: 481f539dc5bc36e67ebb3d1a1ec759280e4ed8ef0b02c49f0dfc3d7ce657db7b295e26d28f69bf7a24a5f410cc74ac62e083b2eaed78b6db2a19853150f8cc47
7
+ data.tar.gz: b9cfebe4973e2919eec0ffa24aa3b23d6326d46e017be05250bcba6d12ea3a2e539014eed9ef172bb6b0fa1415ffd48823813413b49de6f73b4ac3b5acbb1781
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stability_sdk (0.2.4)
4
+ stability_sdk (0.2.5)
5
5
  grpc (>= 1.0.0)
6
6
  mime-types (>= 3.0.0)
7
7
 
@@ -42,7 +42,7 @@ module StabilitySDK
42
42
  def generate(prompt, options, &block)
43
43
  width = options.has_key?(:width) ? options[:width].to_i : DEFAULT_IMAGE_WIDTH
44
44
  height = options.has_key?(:height) ? options[:height].to_i : DEFAULT_IMAGE_HEIGHT
45
- samples = options.has_key?(:num_samples) ? [:num_samples].to_i : DEFAULT_SAMPLE_SIZE
45
+ samples = options.has_key?(:num_samples) ? options[:num_samples].to_i : DEFAULT_SAMPLE_SIZE
46
46
  steps = options.has_key?(:steps) ? options[:steps].to_i : DEFAULT_STEPS
47
47
  seed = options.has_key?(:seed) ? [options[:seed].to_i] : [rand(4294967295)]
48
48
  transform = Gooseai::TransformType.new(
@@ -1,3 +1,3 @@
1
1
  module StabilitySDK
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stability_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosei Moriyama