Spaces:
Sleeping
Sleeping
typo
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from itertools import count, islice
|
2 |
-
from typing import Any, Iterable,
|
3 |
|
4 |
import gradio as gr
|
5 |
import requests
|
@@ -10,7 +10,7 @@ from gradio_huggingfacehub_search import HuggingfaceHubSearch
|
|
10 |
from analyze import get_column_description, get_columns_with_strings, presidio_scan_entities
|
11 |
|
12 |
MAX_ROWS = 100
|
13 |
-
T =
|
14 |
|
15 |
def stream_rows(dataset: str, config: str, split: str) -> Iterable[dict[str, Any]]:
|
16 |
batch_size = 100
|
|
|
1 |
from itertools import count, islice
|
2 |
+
from typing import Any, Iterable, TypeVar
|
3 |
|
4 |
import gradio as gr
|
5 |
import requests
|
|
|
10 |
from analyze import get_column_description, get_columns_with_strings, presidio_scan_entities
|
11 |
|
12 |
MAX_ROWS = 100
|
13 |
+
T = TypeVar("T")
|
14 |
|
15 |
def stream_rows(dataset: str, config: str, split: str) -> Iterable[dict[str, Any]]:
|
16 |
batch_size = 100
|