Rename to verbanote

This commit is contained in:
Marty Oehme 2023-08-20 12:31:14 +02:00
parent be779f0aca
commit f76213bace
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
5 changed files with 19 additions and 2 deletions

View file

@ -1,10 +1,10 @@
[tool.poetry]
name = "nlp-interview-transcription"
name = "verbanote"
version = "0.1.0"
description = ""
authors = ["Marty Oehme <marty.oehme@gmail.com>"]
readme = "README.md"
packages = [{include = "src"}]
packages = [{include = "verbanote"}]
[tool.poetry.dependencies]
python = "^3.11"

17
verbanote/rp_handler.py Normal file
View file

@ -0,0 +1,17 @@
import runpod
def is_even(job):
job_input = job["input"]
num = job_input["number"]
if not isinstance(num, int):
return {"error": "Integer required."}
if num % 2 == 0:
return True
return False
if __name__ == "__main__":
runpod.serverless.start({"handler": is_even})