Comparing version 0.4.5 to 0.5.0
{ | ||
"name": "gia-ast", | ||
"version": "0.4.5", | ||
"version": "0.5.0", | ||
"description": "A CLI Wrapping AST Web API calls to servers", | ||
@@ -15,3 +15,4 @@ "main": "index.js", | ||
"gia-ast": "gia-ast.js", | ||
"gia-ast-meta": "gia-ast-meta.js" | ||
"gia-ast-meta": "gia-ast-meta.js", | ||
"gia-ast-server": "gia-ast-server.js" | ||
}, | ||
@@ -18,0 +19,0 @@ "repository": { |
@@ -32,5 +32,8 @@ | ||
```sh | ||
docker run -it -p 7860:7860 --platform=linux/amd64 \ | ||
registry.hf.space/jgwill-astpicasso:latest | ||
#launch | ||
gia-ast-server --picasso | ||
``` | ||
```sh | ||
#stylize an image using it | ||
gia-ast sample.jpg 7860 | ||
@@ -40,4 +43,25 @@ | ||
```sh | ||
#remove the server | ||
gia-ast-server --picasso --rm | ||
``` | ||
### Extended | ||
```sh | ||
#launch on custom port | ||
gia-ast-server --picasso 8888 | ||
``` | ||
```sh | ||
#stylize an image using it | ||
gia-ast sample.jpg 8888 | ||
``` | ||
## dot Env conf example | ||
* It gets created if it does not exist | ||
```dotenv | ||
@@ -44,0 +68,0 @@ asthostname=localhost |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1693781
49
7854
93
18