File size: 555 Bytes
90e8636
 
f04dfa8
 
7dfd764
 
 
f04dfa8
7dfd764
 
90e8636
318e969
 
7dfd764
 
 
90e8636
 
7dfd764
2b4b309
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gradio as gr

from src.distilabel_dataset_generator.apps.faq import app as faq_app
from src.distilabel_dataset_generator.apps.sft import app as sft_app

theme = gr.themes.Monochrome(
    spacing_size="md",
    font=[gr.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"],
)

demo = gr.TabbedInterface(
    [sft_app, faq_app],
    ["Supervised Fine-Tuning", "FAQ"],
    title="⚗️ distilabel Dataset Generator",
    head="⚗️ distilabel Dataset Generator",
    theme=theme,
)


if __name__ == "__main__":
    demo.launch()