dvilasuero HF staff commited on
Commit
7dfd764
1 Parent(s): 4d1c962

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -3
app.py CHANGED
@@ -3,13 +3,26 @@ import gradio as gr
3
  from src.distilabel_dataset_generator.faq import app as faq_app
4
  from src.distilabel_dataset_generator.sft import app as sft_app
5
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  demo = gr.TabbedInterface(
7
  [sft_app, faq_app],
8
  ["Supervised Fine-Tuning", "FAQ"],
9
- title="⚗️ Distilabel Dataset Generator",
10
- head="⚗️ Distilabel Dataset Generator",
11
- theme="ParityError/Interstellar",
12
  )
13
 
 
14
  if __name__ == "__main__":
15
  demo.launch()
 
3
  from src.distilabel_dataset_generator.faq import app as faq_app
4
  from src.distilabel_dataset_generator.sft import app as sft_app
5
 
6
+
7
+ theme = gr.themes.Monochrome(
8
+ text_size="lg",
9
+ spacing_size="md",
10
+ font=[gr.themes.GoogleFont('Inter'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
11
+
12
+ ).set(
13
+ input_text_size='*text_md',
14
+ button_large_text_size='*text_md'
15
+ )
16
+
17
+
18
  demo = gr.TabbedInterface(
19
  [sft_app, faq_app],
20
  ["Supervised Fine-Tuning", "FAQ"],
21
+ title="⚗️ distilabel Dataset Generator",
22
+ head="⚗️ distilabel Dataset Generator",
23
+ theme=theme,
24
  )
25
 
26
+
27
  if __name__ == "__main__":
28
  demo.launch()