davidberenstein1957 HF staff commited on
Commit
578d0d3
1 Parent(s): d4376fe

feat: Add how does it work tab

Browse files
src/distilabel_dataset_generator/apps/base.py CHANGED
@@ -61,6 +61,10 @@ def get_main_ui(
61
  head="🧬 Synthetic Data Generator",
62
  css=_LOGGED_OUT_CSS,
63
  ) as app:
 
 
 
 
64
  with gr.Row():
65
  gr.Markdown(
66
  "Want to run this locally or with other LLMs? Take a look at the FAQ tab. distilabel Synthetic Data Generator is free, we use the authentication token to push the dataset to the Hugging Face Hub and not for data generation."
 
61
  head="🧬 Synthetic Data Generator",
62
  css=_LOGGED_OUT_CSS,
63
  ) as app:
64
+ with gr.Row():
65
+ gr.Markdown(
66
+ """<details style='display: inline-block;'><summary><h2 style='display: inline;'>How does it work?</h2></summary><img src='https://huggingface.co/spaces/argilla/synthetic-data-generator/resolve/main/assets/flow.png' width='100%' style='margin: 0 auto; display: block;'></details>"""
67
+ )
68
  with gr.Row():
69
  gr.Markdown(
70
  "Want to run this locally or with other LLMs? Take a look at the FAQ tab. distilabel Synthetic Data Generator is free, we use the authentication token to push the dataset to the Hugging Face Hub and not for data generation."