Spaces:
Sleeping
Sleeping
josh-sematic
commited on
Commit
•
88d820d
1
Parent(s):
27ce7a8
Update headline text
Browse files
app.py
CHANGED
@@ -12,17 +12,19 @@ from gradio_huggingfacehub_search import HuggingfaceHubSearch
|
|
12 |
logger = logging.getLogger(__name__)
|
13 |
example = HuggingfaceHubSearch().example_value()
|
14 |
|
15 |
-
HEADER_CONTENT =
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
ABOUT_CONTENT = """
|
17 |
-
This
|
18 |
-
It uses [LLama 3.1 70B](https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct).
|
19 |
via [together.ai](https://together.ai)
|
20 |
Also, it uses the
|
21 |
[dataset-server API](https://redocly.github.io/redoc/?url=https://datasets-server.huggingface.co/openapi.json#operation/isValidDataset).
|
22 |
|
23 |
-
This space is a fork of
|
24 |
-
[davidberenstein1957/text-to-sql-hub-datasets](https://huggingface.co/spaces/davidberenstein1957/text-to-sql-hub-datasets)
|
25 |
-
|
26 |
Query history is saved and given to the chat model so you can chat to refine your query as you go.
|
27 |
|
28 |
When the DuckDB modal is presented, you may need to click on the name of the
|
|
|
12 |
logger = logging.getLogger(__name__)
|
13 |
example = HuggingfaceHubSearch().example_value()
|
14 |
|
15 |
+
HEADER_CONTENT = (
|
16 |
+
"# 🤗 Dataset DuckDB Query Chatbot\n\n"
|
17 |
+
"This is a basic text to SQL tool that allows you to query datasets on Huggingface Hub. "
|
18 |
+
"It's a fork of "
|
19 |
+
"[davidberenstein1957/text-to-sql-hub-datasets](https://huggingface.co/spaces/davidberenstein1957/text-to-sql-hub-datasets) "
|
20 |
+
"that adds chat capability and table name generation."
|
21 |
+
)
|
22 |
ABOUT_CONTENT = """
|
23 |
+
This space uses [LLama 3.1 70B](https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct).
|
|
|
24 |
via [together.ai](https://together.ai)
|
25 |
Also, it uses the
|
26 |
[dataset-server API](https://redocly.github.io/redoc/?url=https://datasets-server.huggingface.co/openapi.json#operation/isValidDataset).
|
27 |
|
|
|
|
|
|
|
28 |
Query history is saved and given to the chat model so you can chat to refine your query as you go.
|
29 |
|
30 |
When the DuckDB modal is presented, you may need to click on the name of the
|