SkillAgentSearch skills...

Deasciifier

No description available

Install / Use

/learn @BOUN-TABILab-TULAP/Deasciifier
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

How to run using Docker

  1. Clone the repo
git clone https://github.com/BOUN-TABILab-TULAP/Deasciifier.git
  1. Launch a terminal in the root directory of the repo and build the Docker image where
  • -t is the tag for the Docker image. You can provide any name you want
  • . is the relative path to the Dockerfile
docker build -t deasciifier .
  1. Run the Docker image where
  • -d indicates "detach", let the container run in the background
  • -p 5000:5000 indicates mapping port 5000 of the container to the port 5000 of the host.
docker run -d -p 5000:5000 deasciifier
  1. Send a POST request
  • via curl
    curl -X POST http://localhost:5000/evaluate 
    -H 'Content-Type: application/json' 
    -d '{"text":"Yagmur yagarken lutfen kosturmayalim"}'
    
    > {result: "Yağmur yağarken lütfen koşturmayalım"}
    
  • via Python's requests library
    import requests
    res = requests.post('http://localhost:5000/evaluate', json={'text':'Yagmur yagarken lutfen kosturmayalim'})
    print(res.json())
    
    > {'result': 'Yağmur yağarken lütfen koşturmayalım'}
    

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2y ago
Forks0

Languages

Python

Security Score

50/100

Audited on Apr 4, 2024

No findings