Framby commited on
Commit
d75ee6f
·
verified ·
1 Parent(s): a10c1f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -37
app.py CHANGED
@@ -54,7 +54,6 @@ X, Y = load_data()
54
 
55
  # ========== prediction function ==========
56
 
57
-
58
  def predict_tags(text, threshold=0.5):
59
  inputs = tokenizer(
60
  text,
@@ -75,42 +74,6 @@ def predict_tags(text, threshold=0.5):
75
 
76
  # ========== interface ==========
77
 
78
- st.markdown("""
79
- <style>
80
- html, body, .block-container {
81
- font-size: 20px !important;
82
- }
83
-
84
- h1, .stTitle {
85
- font-size: 42px !important;
86
- }
87
-
88
- h2, .stMarkdown h2 {
89
- font-size: 34px !important;
90
- }
91
-
92
- h3, .stMarkdown h3 {
93
- font-size: 28px !important;
94
- }
95
-
96
- label, .stTextInput > label, .stTextArea > label {
97
- font-size: 20px !important;
98
- }
99
-
100
- .stButton > button {
101
- font-size: 20px !important;
102
- }
103
-
104
- .stSlider > div {
105
- font-size: 18px !important;
106
- }
107
-
108
- .stPlotlyChart {
109
- zoom: 1.15; /* Увеличим графики */
110
- }
111
- </style>
112
- """, unsafe_allow_html=True)
113
-
114
  st.title("Prédicteur de Tags StackOverflow")
115
 
116
  st.markdown("## 1. Analyse des données textuelles")
 
54
 
55
  # ========== prediction function ==========
56
 
 
57
  def predict_tags(text, threshold=0.5):
58
  inputs = tokenizer(
59
  text,
 
74
 
75
  # ========== interface ==========
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  st.title("Prédicteur de Tags StackOverflow")
78
 
79
  st.markdown("## 1. Analyse des données textuelles")