Commit
Β·
0cc19e7
1
Parent(s):
75d3b30
docs: add nice title
Browse files
app.py
CHANGED
|
@@ -72,6 +72,12 @@ def query_dataset(hub_repo_id, features, query):
|
|
| 72 |
|
| 73 |
|
| 74 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
with gr.Row():
|
| 76 |
with gr.Column():
|
| 77 |
search_in = HuggingfaceHubSearch(
|
|
|
|
| 72 |
|
| 73 |
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
+
gr.Markdown("""# π₯ π¦ π€ Text To Sql Hub Datasets π₯ π¦ π€
|
| 76 |
+
|
| 77 |
+
This is a basic text to SQL tool that allows you to query datasets on Huggingface Hub.
|
| 78 |
+
It is built with [DuckDB](https://duckdb.org/), [Huggingface's Inference API](https://huggingface.co/docs/api-inference/index), and [LLama 3.1 70B](https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct).
|
| 79 |
+
Also, it uses the [dataset-server API](https://redocly.github.io/redoc/?url=https://datasets-server.huggingface.co/openapi.json#operation/isValidDataset).
|
| 80 |
+
""")
|
| 81 |
with gr.Row():
|
| 82 |
with gr.Column():
|
| 83 |
search_in = HuggingfaceHubSearch(
|