powered by KakaoBrain KoGPT
Install required packages:
$ python install -r requirements.txt
Start server:
$ cd server
$ python server.py
* Serving Flask app 'server' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://<your_ip_address>:<port_num>/ (Press CTRL+C to quit)
<port_num>
is 33327
as default.
$ curl [-X <method>] [-H 'Content-Type: application/json'] [-d <data>] [other_options...] <server_url>/<call>
<method>
can be one of<GET | POST | PUT | PATCH | DELETE>
.<call>
can be one of<upload | inference | download>
currently.
TBA
TBA
Luke Park (Sanghyeon Park)