lhoestq HF staff commited on
Commit
9627e38
1 Parent(s): da70c80
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from itertools import count, islice
2
- from typing import Any, Iterable, TypedVar
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 = TypedVar("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