Skip to content

Commit e093ab8

Browse files
authored
Fake handler
1 parent 5b88400 commit e093ab8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.runpod/handler.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import runpod
2+
3+
def handler(job):
4+
"""
5+
This is a simple handler that takes a name as input and returns a greeting.
6+
The job parameter contains the input data in job["input"]
7+
"""
8+
job_input = job["input"]
9+
10+
# Return a greeting message
11+
return "KoboldCpp only supports pods, check https://koboldai.org/runpodcpp for the correct settings."
12+
13+
# Start the serverless function
14+
runpod.serverless.start({"handler": handler})

0 commit comments

Comments
 (0)