replicate-ruby 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: '0840bf61f6fc1f27234815e501bc2f68a40e1af9b001c5e0df782d0e4083f2d6'
4
- data.tar.gz: bc055f8e4f403c8917e47fd90155ae6e4d4c2216a56f7275ee7e8c8d4d2eabd4
3
+ metadata.gz: f7a1858f78be5077c9396f73607b07e9cc08531eb82476f8dc017d2da3cbcf38
4
+ data.tar.gz: 0a405743c2405687c58a27d8b6ad1078958eb0c237c3ab1a89922c9a17f150f2
5
5
  SHA512:
6
- metadata.gz: 47250571e1bcafbe1b77238243229665b97e756d4a3eed92f1bbcc2f99addaa23baef4074b49f7bf784711c4b887b6e3c8c21cc019693e5a79b1b7fe6fea778c
7
- data.tar.gz: 6e5bc89eeb116c32a81f246d044e782b85a230df7c4d19e3c3ddfb2ac2a54f5c1dc5a7772f3b2101c4a267a55b20f2a1a9e58d7c0a30fa2d950de290179775ec
6
+ metadata.gz: 5141a0361e88ffec603dd331c813b3c99bff3e3f14bab88eb528ae7e519c117e5104463b8d7067ca0736be6e06b15d6ef512b668aa500caae40a1d2a3080d7a6
7
+ data.tar.gz: 23abec8601415dce6a56ac284889f1cf1c97ef6aff834cd23c2fdb1429be016a4b9880b401169cd4a04ceb67c1d022f109673c251b5314e2150d61a1e39c4ac6
data/Gemfile.lock CHANGED
@@ -3,59 +3,59 @@ PATH
3
3
  specs:
4
4
  replicate-ruby (0.2.1)
5
5
  addressable
6
- faraday (>= 2.0)
6
+ faraday (>= 1.0)
7
7
  faraday-multipart
8
8
  faraday-retry
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- addressable (2.8.1)
13
+ addressable (2.8.4)
14
14
  public_suffix (>= 2.0.2, < 6.0)
15
15
  ast (2.4.2)
16
16
  byebug (11.1.3)
17
17
  coderay (1.1.3)
18
18
  crack (0.4.5)
19
19
  rexml
20
- faraday (2.7.2)
20
+ faraday (2.7.4)
21
21
  faraday-net_http (>= 2.0, < 3.1)
22
22
  ruby2_keywords (>= 0.0.4)
23
23
  faraday-multipart (1.0.4)
24
24
  multipart-post (~> 2)
25
25
  faraday-net_http (3.0.2)
26
- faraday-retry (2.0.0)
26
+ faraday-retry (2.1.0)
27
27
  faraday (~> 2.0)
28
28
  hashdiff (1.0.1)
29
- json (2.6.2)
29
+ json (2.6.3)
30
30
  method_source (1.0.0)
31
- minitest (5.16.3)
32
- multipart-post (2.2.3)
33
- parallel (1.22.1)
34
- parser (3.1.2.1)
31
+ minitest (5.18.0)
32
+ multipart-post (2.3.0)
33
+ parallel (1.23.0)
34
+ parser (3.2.2.1)
35
35
  ast (~> 2.4.1)
36
- pry (0.14.1)
36
+ pry (0.14.2)
37
37
  coderay (~> 1.1)
38
38
  method_source (~> 1.0)
39
- public_suffix (5.0.0)
39
+ public_suffix (5.0.1)
40
40
  rainbow (3.1.1)
41
41
  rake (13.0.6)
42
- regexp_parser (2.6.0)
42
+ regexp_parser (2.8.0)
43
43
  rexml (3.2.5)
44
- rubocop (1.36.0)
44
+ rubocop (1.51.0)
45
45
  json (~> 2.3)
46
46
  parallel (~> 1.10)
47
- parser (>= 3.1.2.1)
47
+ parser (>= 3.2.0.0)
48
48
  rainbow (>= 2.2.2, < 4.0)
49
49
  regexp_parser (>= 1.8, < 3.0)
50
50
  rexml (>= 3.2.5, < 4.0)
51
- rubocop-ast (>= 1.20.1, < 2.0)
51
+ rubocop-ast (>= 1.28.0, < 2.0)
52
52
  ruby-progressbar (~> 1.7)
53
- unicode-display_width (>= 1.4.0, < 3.0)
54
- rubocop-ast (1.21.0)
55
- parser (>= 3.1.1.0)
56
- ruby-progressbar (1.11.0)
53
+ unicode-display_width (>= 2.4.0, < 3.0)
54
+ rubocop-ast (1.28.1)
55
+ parser (>= 3.2.1.0)
56
+ ruby-progressbar (1.13.0)
57
57
  ruby2_keywords (0.0.5)
58
- unicode-display_width (2.3.0)
58
+ unicode-display_width (2.4.2)
59
59
  webmock (3.18.1)
60
60
  addressable (>= 2.8.0)
61
61
  crack (>= 0.3.2)
data/README.md CHANGED
@@ -89,6 +89,12 @@ prediction = Replicate.client.create_prediction(
89
89
  )
90
90
  ```
91
91
 
92
+ You can also download the `output.zip` file from the dreambooth training prediction, unzip it, and then convert the trained model to a Stable Diffusion checkpoint with [convert_diffusers_to_sd.py](https://gist.github.com/jachiam/8a5c0b607e38fcc585168b90c686eb05).
93
+
94
+ ```bash
95
+ python ./convert_diffusers_to_sd.py --model_path ~/Downloads/output --checkpoint_path ~/Downloads/output.ckpt
96
+ ```
97
+
92
98
  ## Development
93
99
 
94
100
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Replicate
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: replicate-ruby
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
  - Dreaming Tulpa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday-retry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  requirements: []
162
- rubygems_version: 3.4.6
162
+ rubygems_version: 3.4.10
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Ruby client for Replicate