We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b88400 commit e093ab8Copy full SHA for e093ab8
.runpod/handler.py
@@ -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