crossroderick commited on
Commit
d54102c
·
1 Parent(s): 97762e0

Another layout update

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -30,13 +30,13 @@ flip_card_html = """
30
  <div class="flip-card">
31
  <div class="flip-card-inner">
32
  <div class="flip-card-front">
33
- <center><h2>Қазақша (KZ)</h2></center><br>
34
  <p><strong>DalaT5</strong> - <b>кириллицада</b> жазылған табиғи қазақ тілін еркін <b>латын графикасына</b> ауыстыру үшін дайындалған T5 негізіндегі модель, Қазақстанның 2021 жылғы ресми әліпби реформасына негізделген.<br><br>
35
 
36
  Бұл модель құрмет пен қызығушылықтың мәдени қимылы ретінде ұсынылады. Ол қазіргі қазақ тілін бүгінгі адамдар қалай жазады, солай қабылдайды - және оның болашағының тілінде жауап береді.</p>
37
  </div>
38
  <div class="flip-card-back">
39
- <center><h2>English (EN)</h2></center><br>
40
  <p><strong>DalaT5</strong> is a T5-based model trained to convert natural Kazakh written in <b>Cyrillic</b> into fluent <b>Latin script</b>, based on the official 2021 alphabet reform of Kazakhstan.<br><br>
41
 
42
  This model is offered as a cultural gesture of respect and curiosity. It accepts modern Kazakh as people write it today - and answers in the language of its future.</p>
@@ -72,7 +72,7 @@ flip_card_css = """
72
  background-color: transparent;
73
  width: 100%;
74
  max-width: 900px;
75
- height: 400px;
76
  perspective: 1000px;
77
  margin: 0 auto 2rem auto;
78
  cursor: pointer;
@@ -100,7 +100,7 @@ flip_card_css = """
100
  color: inherit;
101
  border: 1px solid rgba(255, 255, 255, 0.2);
102
  border-radius: 15px;
103
- font-size: 20px;
104
  padding: 20px;
105
  display: flex;
106
  flex-direction: column;
 
30
  <div class="flip-card">
31
  <div class="flip-card-inner">
32
  <div class="flip-card-front">
33
+ <center><h3>Қазақша (KZ)</h3></center><br>
34
  <p><strong>DalaT5</strong> - <b>кириллицада</b> жазылған табиғи қазақ тілін еркін <b>латын графикасына</b> ауыстыру үшін дайындалған T5 негізіндегі модель, Қазақстанның 2021 жылғы ресми әліпби реформасына негізделген.<br><br>
35
 
36
  Бұл модель құрмет пен қызығушылықтың мәдени қимылы ретінде ұсынылады. Ол қазіргі қазақ тілін бүгінгі адамдар қалай жазады, солай қабылдайды - және оның болашағының тілінде жауап береді.</p>
37
  </div>
38
  <div class="flip-card-back">
39
+ <center><h3>English (EN)</h3></center><br>
40
  <p><strong>DalaT5</strong> is a T5-based model trained to convert natural Kazakh written in <b>Cyrillic</b> into fluent <b>Latin script</b>, based on the official 2021 alphabet reform of Kazakhstan.<br><br>
41
 
42
  This model is offered as a cultural gesture of respect and curiosity. It accepts modern Kazakh as people write it today - and answers in the language of its future.</p>
 
72
  background-color: transparent;
73
  width: 100%;
74
  max-width: 900px;
75
+ height: 350px;
76
  perspective: 1000px;
77
  margin: 0 auto 2rem auto;
78
  cursor: pointer;
 
100
  color: inherit;
101
  border: 1px solid rgba(255, 255, 255, 0.2);
102
  border-radius: 15px;
103
+ font-size: 18px;
104
  padding: 20px;
105
  display: flex;
106
  flex-direction: column;