Spaces:
Sleeping
Sleeping
typo
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def analyze_dataset(dataset: str) -> pd.DataFrame:
|
|
56 |
yield f"⚙️ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
57 |
yield f"✅ Scanning {dataset} [{rows.next_idx}/{num_rows}rows]:", pd.DataFrame(presidio_entities)
|
58 |
|
59 |
-
with gr.
|
60 |
gr.Markdown("The space takes an HF dataset name as an input, and returns the list of entities detected by Presidio in the first samples.")
|
61 |
inputs = [
|
62 |
HuggingfaceHubSearch(
|
|
|
56 |
yield f"⚙️ Scanning {dataset} [{rows.next_idx}/{num_rows} rows]:", pd.DataFrame(presidio_entities)
|
57 |
yield f"✅ Scanning {dataset} [{rows.next_idx}/{num_rows}rows]:", pd.DataFrame(presidio_entities)
|
58 |
|
59 |
+
with gr.Blocks(title="Scan datasets using Presidio") as demo:
|
60 |
gr.Markdown("The space takes an HF dataset name as an input, and returns the list of entities detected by Presidio in the first samples.")
|
61 |
inputs = [
|
62 |
HuggingfaceHubSearch(
|