Upload templates.py with huggingface_hub
Browse files- templates.py +6 -6
templates.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
from .text_utils import split_words
|
2 |
-
from .artifact import Artifact
|
3 |
-
from .operator import StreamInstanceOperator, InstanceOperatorWithGlobalAccess
|
4 |
-
from .instructions import Instruction
|
5 |
-
|
6 |
import random
|
7 |
-
from typing import Dict, Any, List
|
8 |
from abc import ABC, abstractmethod
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
class Renderer(ABC):
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import random
|
|
|
2 |
from abc import ABC, abstractmethod
|
3 |
+
from typing import Any, Dict, List
|
4 |
+
|
5 |
+
from .artifact import Artifact
|
6 |
+
from .instructions import Instruction
|
7 |
+
from .operator import InstanceOperatorWithGlobalAccess, StreamInstanceOperator
|
8 |
+
from .text_utils import split_words
|
9 |
|
10 |
|
11 |
class Renderer(ABC):
|