Socket
Socket
Sign inDemoInstall

gia-ast

Package Overview
Dependencies
158
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gia-ast

A CLI Wrapping AST Web API calls to servers


Version published
Maintainers
1
Install size
31.1 MB
Created

Readme

Source

--@STCGoal migrating from : https://github.com/GuillaumeAI/x__etch-a-sketch__210224

AStia Project

Basically, it connects to the Astia Server.

Install

npm i gia-ast gia-ast-util --g

Use sample

gia-ast sample.jpg 9098


Run a Server

From HuggingFace

#launch 
gia-ast-server --picasso
#stylize an image using it
gia-ast sample.jpg 7860

#remove the server
gia-ast-server --picasso --rm

Extended

#launch on custom port
gia-ast-server --picasso 8888
#stylize an image using it
gia-ast sample.jpg 8888

dot Env conf example

  • It gets created if it does not exist
asthostname=localhost
astoutsuffix=__stylized__
astportbase=78
astcallprotocol=https
astcallmethod=/stylize

more elaborated .env (with meta server)

#asthostname=osiris.astia.xyz
asthostname=localhost
astoutsuffix=__stylized__
astportbase=90
astcallprotocol=http
astcallmethod=/stylize
astmetaportnum=8999
astusemetasvr=true
astdebug=false
astsavemeta=true
astappendmodelid=true
dihostname=localhost
echocmd=false
devmode=false
astmetaoutputdir=.astmeta

Keywords

FAQs

Last updated on 11 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc