tulpa-prompter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +20 -16
- data/lib/tulpa_prompter/version.rb +5 -0
- data/lib/{prompter.rb → tulpa_prompter.rb} +2 -2
- data/sig/prompter.rbs +1 -1
- metadata +12 -12
- data/lib/prompter/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c687ce73414deb0efbfcba2c5f174abf354aa659b77df1104843a7b513d0bcca
|
4
|
+
data.tar.gz: 77d678771ceeb38e8374c199071ce73ff3056f80c35426eb9344345a755c4be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d053a0936a136a2bf7e7211cf3c89f2dba2d1945eef4ffba6b5f5cd2e99768083acd30fddce17b406fa9b29fc8dee7995600b5502e4b2a719d864a10152c422
|
7
|
+
data.tar.gz: 38cdcdc4ffad8009948b3bdf298d6fd8a81ae5cb93551551e8b9ce4d9aa9be342a0dba4d09f9523236bfff002eecc126a51258f8ca2b32ce1e30c4acf98bb147
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
prompter (0.1.0)
|
4
|
+
tulpa-prompter (0.1.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -36,9 +36,9 @@ PLATFORMS
|
|
36
36
|
|
37
37
|
DEPENDENCIES
|
38
38
|
minitest (~> 5.0)
|
39
|
-
prompter!
|
40
39
|
rake (~> 13.0)
|
41
40
|
rubocop (~> 1.21)
|
41
|
+
tulpa-prompter!
|
42
42
|
|
43
43
|
BUNDLED WITH
|
44
44
|
2.3.7
|
data/README.md
CHANGED
@@ -1,15 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# TulpaPrompter
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This is just a simple Ruby gem implementing the functionality of [Animation Prompter](https://dreamingtulpa.com/tools/prompter) on my website.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem 'prompter'
|
10
|
+
gem 'tulpa-prompter'
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
@@ -18,22 +16,28 @@ And then execute:
|
|
18
16
|
|
19
17
|
Or install it yourself as:
|
20
18
|
|
21
|
-
$ gem install prompter
|
19
|
+
$ gem install tulpa-prompter
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
```
|
24
|
+
json_string = TulpaPrompter.call(
|
25
|
+
lines: ["prompt #1", "prompt #2", "prompt #3"],
|
26
|
+
prefix: "portrait of ",
|
27
|
+
suffix: " by greg rutkowski",
|
28
|
+
interval: 15,
|
29
|
+
shuffle: false
|
30
|
+
)
|
31
|
+
```
|
30
32
|
|
31
|
-
|
33
|
+
Or you can use it as a CLI:
|
32
34
|
|
33
|
-
|
35
|
+
```
|
36
|
+
bin/tulpa_prompter path/to/prompts.txt --prefix "portrait of " --suffix " by greg rutkowski" --interval 15 --shuffle
|
37
|
+
```
|
34
38
|
|
35
|
-
|
39
|
+
This copies the output to the clipboard on macOS. Doesn't work for other platforms yet. If you want it, submit a PR.
|
36
40
|
|
37
|
-
##
|
41
|
+
## Development
|
38
42
|
|
39
|
-
|
43
|
+
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.
|
data/sig/prompter.rbs
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tulpa-prompter
|
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
|
- Dreaming Tulpa
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email:
|
15
15
|
- hey@dreamingtulpa.com
|
16
16
|
executables: []
|
@@ -24,16 +24,16 @@ files:
|
|
24
24
|
- Gemfile.lock
|
25
25
|
- README.md
|
26
26
|
- Rakefile
|
27
|
-
- lib/
|
28
|
-
- lib/
|
27
|
+
- lib/tulpa_prompter.rb
|
28
|
+
- lib/tulpa_prompter/version.rb
|
29
29
|
- sig/prompter.rbs
|
30
|
-
homepage: https://github.com/dreamingtulpa/
|
30
|
+
homepage: https://github.com/dreamingtulpa/tulpa_prompter
|
31
31
|
licenses: []
|
32
32
|
metadata:
|
33
|
-
homepage_uri: https://github.com/dreamingtulpa/
|
34
|
-
source_code_uri: https://github.com/dreamingtulpa/
|
35
|
-
changelog_uri: https://github.com/dreamingtulpa/
|
36
|
-
post_install_message:
|
33
|
+
homepage_uri: https://github.com/dreamingtulpa/tulpa_prompter
|
34
|
+
source_code_uri: https://github.com/dreamingtulpa/tulpa_prompter
|
35
|
+
changelog_uri: https://github.com/dreamingtulpa/tulpa_prompter/blob/master/CHANGELOG.md
|
36
|
+
post_install_message:
|
37
37
|
rdoc_options: []
|
38
38
|
require_paths:
|
39
39
|
- lib
|
@@ -48,8 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
|
-
rubygems_version: 3.
|
52
|
-
signing_key:
|
51
|
+
rubygems_version: 3.3.7
|
52
|
+
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: CLI tool to build animation prompts for AI notebooks like Deforum Stable
|
55
55
|
Diffusion
|