Create pipeline.py
Browse files- pipeline.py +5 -0
pipeline.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class Pipeline:
|
2 |
+
def __init__(self, model_id):
|
3 |
+
self.model_id = model_id
|
4 |
+
def __call__(self, inputs):
|
5 |
+
return f"Hello, {inputs.title()}"
|