Spaces:
Running
Running
Commit
•
6ce8021
1
Parent(s):
3311ce3
formatting
Browse files
app.py
CHANGED
@@ -145,6 +145,16 @@ def update_column_names(compare_mode):
|
|
145 |
|
146 |
|
147 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
with gr.Row():
|
149 |
dataset_id = gr.Textbox(
|
150 |
label="Dataset ID", placeholder="e.g., davanstrien/cosmochat"
|
|
|
145 |
|
146 |
|
147 |
with gr.Blocks() as demo:
|
148 |
+
with gr.Row():
|
149 |
+
gr.HTML(
|
150 |
+
"<h1 style='text-align: center;'>📖 Chat Column Viewer 📖</h1>"
|
151 |
+
)
|
152 |
+
gr.HTML(
|
153 |
+
"<div style='text-align: center;'><em>✨ Explore ChatML formatted data via the datasets viewer API ✨</em></div>"
|
154 |
+
)
|
155 |
+
gr.Markdown(
|
156 |
+
"This app allows you to view chat data from a Hugging Face dataset via the datasets viewer API. ChatML formatted data consists of messages formatted as lists of dictionaries, where each dictionary represents a message with a 'role' (e.g., 'user' or 'assistant') and 'content'. This is a very basic demo built in less than 30 minutes but it hopefully gives you an idea of the kinds of things you can build with the datasets viewer. You can get started building your own apps by going to the datasets viewer documentation [here](https://huggingface.co/docs/datasets-server/index)."
|
157 |
+
)
|
158 |
with gr.Row():
|
159 |
dataset_id = gr.Textbox(
|
160 |
label="Dataset ID", placeholder="e.g., davanstrien/cosmochat"
|