Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/Kamarov/lotsa_explorer
Browse files
README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
---
|
| 2 |
title: Lotsa Explorer
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.12.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
short_description: A tool for
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
title: Lotsa Explorer
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.12.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
short_description: A tool for interactive observation of lotsa dataset
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def get_page(dataset: str, config: str, split: str, page: str) -> Tuple[str, int
|
|
| 208 |
|
| 209 |
with gr.Blocks() as demo:
|
| 210 |
# εε§εη»δ»Ά
|
| 211 |
-
gr.Markdown("A tool for interactive observation of lotsa
|
| 212 |
cp_dataset = gr.Textbox("Salesforce/lotsa_data", label="Pick a dataset", placeholder="competitions/aiornot")
|
| 213 |
cp_go = gr.Button("Explore")
|
| 214 |
cp_config = gr.Dropdown(["plain_text"], value="plain_text", label="Config", visible=False)
|
|
@@ -331,4 +331,4 @@ with gr.Blocks() as demo:
|
|
| 331 |
if __name__ == "__main__":
|
| 332 |
|
| 333 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 334 |
-
uvicorn.run(app, host="0.0.0.0", port=
|
|
|
|
| 208 |
|
| 209 |
with gr.Blocks() as demo:
|
| 210 |
# εε§εη»δ»Ά
|
| 211 |
+
gr.Markdown("A tool for interactive observation of lotsa dataset, extended from lhoestq/datasets-explorer")
|
| 212 |
cp_dataset = gr.Textbox("Salesforce/lotsa_data", label="Pick a dataset", placeholder="competitions/aiornot")
|
| 213 |
cp_go = gr.Button("Explore")
|
| 214 |
cp_config = gr.Dropdown(["plain_text"], value="plain_text", label="Config", visible=False)
|
|
|
|
| 331 |
if __name__ == "__main__":
|
| 332 |
|
| 333 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 334 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|