Upload instructions.py with huggingface_hub
Browse files- instructions.py +3 -0
instructions.py
CHANGED
|
@@ -16,6 +16,9 @@ class TextualInstruction(Instruction):
|
|
| 16 |
def __call__(self) -> str:
|
| 17 |
return self.text
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
from .collections import ListCollection
|
| 21 |
|
|
|
|
| 16 |
def __call__(self) -> str:
|
| 17 |
return self.text
|
| 18 |
|
| 19 |
+
def __repr__(self):
|
| 20 |
+
return self.text
|
| 21 |
+
|
| 22 |
|
| 23 |
from .collections import ListCollection
|
| 24 |
|