File size: 288 Bytes
5d88a64 |
1 2 3 4 5 6 7 8 9 10 11 |
class DummyModel:
def __init__(self):
self.label = "dummy"
def predict(self, text: str) -> str:
return f"Prediction from dummy model on input: {text}"
if __name__ == "__main__":
model = DummyModel()
print(model.predict("Hello, Hugging Face!")) |