Spaces:
Running

styhero commited on
Commit
5e29604
·
verified ·
1 Parent(s): 4d6d2af

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +28 -13
README.md CHANGED
@@ -1,19 +1,34 @@
1
  ---
2
- title: MobileLookup
3
- emoji: 🚀
4
- colorFrom: red
5
- colorTo: red
6
- sdk: docker
7
- app_port: 8501
8
- tags:
9
- - streamlit
10
  pinned: false
11
- short_description: Streamlit template space
12
  ---
13
 
14
- # Welcome to Streamlit!
15
 
16
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
17
 
18
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
19
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Mobile Lookup
3
+ emoji: 📱
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: streamlit
7
+ sdk_version: 1.41.0
8
+ app_file: app.py
 
9
  pinned: false
10
+ license: mit
11
  ---
12
 
13
+ # Mobile Lookup
14
 
15
+ Search mobile numbers across a HuggingFace parquet dataset using DuckDB.
16
 
17
+ ## How it works
18
+
19
+ 1. Searches `mobile1_index.parquet` and `mobile2_index.parquet` in parallel via DuckDB
20
+ 2. Uses the `row_group_id` + `row_start`/`row_end` from the index to fetch only the exact row group from HuggingFace
21
+ 3. Returns all matching records with full details
22
+
23
+ ## Setup
24
+
25
+ Set the following repository secret in your Space settings:
26
+
27
+ | Secret | Description |
28
+ |--------|-------------|
29
+ | `HF_TOKEN` | HuggingFace token with read access to the dataset |
30
+
31
+ ## Index files
32
+
33
+ Upload `mobile1_index.parquet` and `mobile2_index.parquet` to the Space repository,
34
+ or set `MOBILE1_IDX` / `MOBILE2_IDX` env vars to `hf://` paths if stored in a dataset.