crossroderick commited on
Commit
bc097b9
·
1 Parent(s): 78f41b5

Layout update

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,7 +22,7 @@ def transliterate(text: str) -> str:
22
  # Custom HTML for flip card
23
  flip_card_html = """
24
  <center><h1>🇰🇿 DalaT5</h1>
25
- <h2>Қазақша кириллица → латын графикасының транслитераторы / Kazakh Cyrillic → Latin Script Transliterator</h2></center>
26
 
27
  <hr>
28
  <br>
@@ -72,7 +72,7 @@ flip_card_css = """
72
  background-color: transparent;
73
  width: 100%;
74
  max-width: 1000px;
75
- height: 500px;
76
  perspective: 1000px;
77
  margin: 0 auto 2rem auto;
78
  cursor: pointer;
@@ -100,6 +100,7 @@ flip_card_css = """
100
  color: inherit;
101
  border: 1px solid rgba(255, 255, 255, 0.2);
102
  border-radius: 15px;
 
103
  padding: 20px;
104
  display: flex;
105
  flex-direction: column;
@@ -136,7 +137,6 @@ with gr.Blocks(css = flip_card_css) as demo:
136
  label = "Латын графикасының шығуы / Latin script output",
137
  ),
138
 
139
- title = "Kazakh transliterator",
140
  theme = "default",
141
  flagging_mode = "never"
142
  )
 
22
  # Custom HTML for flip card
23
  flip_card_html = """
24
  <center><h1>🇰🇿 DalaT5</h1>
25
+ <h3>Қазақша кириллица → латын графикасының транслитераторы / Kazakh Cyrillic → Latin Script Transliterator</h3></center>
26
 
27
  <hr>
28
  <br>
 
72
  background-color: transparent;
73
  width: 100%;
74
  max-width: 1000px;
75
+ height: 400px;
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: 20px;
104
  padding: 20px;
105
  display: flex;
106
  flex-direction: column;
 
137
  label = "Латын графикасының шығуы / Latin script output",
138
  ),
139
 
 
140
  theme = "default",
141
  flagging_mode = "never"
142
  )