Framby commited on
Commit
8986719
·
verified ·
1 Parent(s): 6428414

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -16,41 +16,42 @@ from huggingface_hub import hf_hub_download
16
  from datasets import load_dataset
17
 
18
 
19
-
20
- # ========== Style ==========
21
  st.set_page_config(page_title="Tag Predictor", layout="wide")
22
 
 
23
  st.markdown("""
24
  <style>
25
- html, body, [class*="css"] {
26
- font-size: 18px !important; /* Базовый размер */
27
  }
28
 
29
- h1 {
30
- font-size: 32px !important;
31
  }
32
 
33
- h2 {
34
  font-size: 28px !important;
35
  }
36
 
37
- h3 {
38
  font-size: 24px !important;
39
  }
40
 
41
- .stTextInput > div > input,
42
- .stTextArea > div > textarea,
43
- .stSlider {
44
  font-size: 18px !important;
45
  }
46
 
47
- .stButton button {
48
  font-size: 18px !important;
49
  }
50
 
51
  .stAlert {
52
  font-size: 18px !important;
53
  }
 
 
 
 
54
  </style>
55
  """, unsafe_allow_html=True)
56
 
 
16
  from datasets import load_dataset
17
 
18
 
 
 
19
  st.set_page_config(page_title="Tag Predictor", layout="wide")
20
 
21
+ # ========== Style ==========
22
  st.markdown("""
23
  <style>
24
+ textarea {
25
+ font-size: 18px !important;
26
  }
27
 
28
+ .markdown-text-container h1 {
29
+ font-size: 34px !important;
30
  }
31
 
32
+ .markdown-text-container h2 {
33
  font-size: 28px !important;
34
  }
35
 
36
+ .markdown-text-container h3 {
37
  font-size: 24px !important;
38
  }
39
 
40
+ .stSlider .css-1y4p8pa, .stSlider .css-1cpxqw2 {
 
 
41
  font-size: 18px !important;
42
  }
43
 
44
+ .stButton > button {
45
  font-size: 18px !important;
46
  }
47
 
48
  .stAlert {
49
  font-size: 18px !important;
50
  }
51
+
52
+ .stMarkdown p {
53
+ font-size: 18px !important;
54
+ }
55
  </style>
56
  """, unsafe_allow_html=True)
57