lhoestq HF Staff commited on
Commit
2d23b37
·
1 Parent(s): bf76396
Files changed (1) hide show
  1. app.py +1 -1
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.Block(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(
 
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(