replicate-api 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/Gemfile.lock +0 -6
- data/README.md +1 -1
- data/lib/replicate/client.rb +0 -2
- data/lib/replicate/version.rb +1 -1
- metadata +1 -2
- data/.gem/credentials +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36de9d636cd090ca0252d22ffd4cb48cca83b97810f4b235e05814caaa0b35e1
|
4
|
+
data.tar.gz: bf08feae2677ae8cedbf103e9ef93df03f824c6c671e2be352a09f39b439b1e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3bd50c4c5c8d6532f72d32385ebf929e6f32fe3cdbaac79e223131362bcff694873cca78ce7897893d215eb18499829ce27bf80d6f45a96961c30568931437e
|
7
|
+
data.tar.gz: 9bcbedddc860ab97208fe7b5ddd0bd9d87c73eb213ec15429325fc802d5f73221a754b3f720e8da3d16a307d656fde249c0851885f2093fde23633fcde5c02da
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -7,16 +7,11 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
coderay (1.1.3)
|
11
10
|
diff-lcs (1.5.0)
|
12
11
|
faraday (2.7.1)
|
13
12
|
faraday-net_http (>= 2.0, < 3.1)
|
14
13
|
ruby2_keywords (>= 0.0.4)
|
15
14
|
faraday-net_http (3.0.2)
|
16
|
-
method_source (1.0.0)
|
17
|
-
pry (0.13.1)
|
18
|
-
coderay (~> 1.1)
|
19
|
-
method_source (~> 1.0)
|
20
15
|
rake (13.0.6)
|
21
16
|
rspec (3.12.0)
|
22
17
|
rspec-core (~> 3.12.0)
|
@@ -37,7 +32,6 @@ PLATFORMS
|
|
37
32
|
arm64-darwin-21
|
38
33
|
|
39
34
|
DEPENDENCIES
|
40
|
-
pry (~> 0.13.1)
|
41
35
|
rake (~> 13.0)
|
42
36
|
replicate-api!
|
43
37
|
rspec (~> 3.0)
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
You can run a model and get its output:
|
26
26
|
|
27
|
-
```
|
27
|
+
```ruby
|
28
28
|
replicate = Replicate::Client.new(api_key: "#{YOUR API KEY HERE}")
|
29
29
|
model = replicate.models("stability-ai/stable-diffusion")
|
30
30
|
model.predict(prompt="a 19th century portrait of a wombat gentleman")
|
data/lib/replicate/client.rb
CHANGED
data/lib/replicate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: replicate-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivia Li
|
@@ -31,7 +31,6 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- ".gem/credentials"
|
35
34
|
- ".rspec"
|
36
35
|
- Gemfile
|
37
36
|
- Gemfile.lock
|
data/.gem/credentials
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
:github: Bearer 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
|