Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from itertools import count, islice
|
2 |
from typing import Any, Iterable, TypeVar
|
3 |
|
@@ -55,6 +56,7 @@ def analyze_dataset(dataset: str) -> pd.DataFrame:
|
|
55 |
presidio_entities.append(presidio_entity)
|
56 |
print(presidio_entity)
|
57 |
yield f"⚙️ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
|
|
58 |
yield f"✅ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
59 |
|
60 |
with gr.Blocks() as demo:
|
|
|
1 |
+
import time
|
2 |
from itertools import count, islice
|
3 |
from typing import Any, Iterable, TypeVar
|
4 |
|
|
|
56 |
presidio_entities.append(presidio_entity)
|
57 |
print(presidio_entity)
|
58 |
yield f"⚙️ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
59 |
+
time.sleep(0.5)
|
60 |
yield f"✅ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
61 |
|
62 |
with gr.Blocks() as demo:
|