Upload load.py with huggingface_hub
Browse files
load.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
from .operator import StreamSource
|
2 |
-
from datasets import DatasetDict
|
3 |
from typing import Union
|
4 |
|
5 |
-
from
|
|
|
6 |
from .artifact import Artifact
|
|
|
|
|
7 |
|
8 |
|
9 |
def load_stream(source_name_or_path: str) -> StreamSource:
|
|
|
|
|
|
|
1 |
from typing import Union
|
2 |
|
3 |
+
from datasets import DatasetDict
|
4 |
+
|
5 |
from .artifact import Artifact
|
6 |
+
from .catalog import LocalCatalog
|
7 |
+
from .operator import StreamSource
|
8 |
|
9 |
|
10 |
def load_stream(source_name_or_path: str) -> StreamSource:
|