Spaces:
Sleeping
Sleeping
Commit
·
78f41b5
1
Parent(s):
ef4c448
Another layout update
Browse files
app.py
CHANGED
@@ -21,10 +21,11 @@ def transliterate(text: str) -> str:
|
|
21 |
|
22 |
# Custom HTML for flip card
|
23 |
flip_card_html = """
|
24 |
-
<
|
|
|
25 |
|
26 |
<hr>
|
27 |
-
<br
|
28 |
|
29 |
<div class="flip-card">
|
30 |
<div class="flip-card-inner">
|
@@ -70,11 +71,11 @@ flip_card_css = """
|
|
70 |
.flip-card {
|
71 |
background-color: transparent;
|
72 |
width: 100%;
|
73 |
-
max-width:
|
74 |
-
height:
|
75 |
perspective: 1000px;
|
76 |
margin: 0 auto 2rem auto;
|
77 |
-
cursor: pointer;
|
78 |
}
|
79 |
|
80 |
.flip-card-inner {
|
@@ -135,7 +136,7 @@ with gr.Blocks(css = flip_card_css) as demo:
|
|
135 |
label = "Латын графикасының шығуы / Latin script output",
|
136 |
),
|
137 |
|
138 |
-
title = "
|
139 |
theme = "default",
|
140 |
flagging_mode = "never"
|
141 |
)
|
|
|
21 |
|
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>
|
29 |
|
30 |
<div class="flip-card">
|
31 |
<div class="flip-card-inner">
|
|
|
71 |
.flip-card {
|
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;
|
79 |
}
|
80 |
|
81 |
.flip-card-inner {
|
|
|
136 |
label = "Латын графикасының шығуы / Latin script output",
|
137 |
),
|
138 |
|
139 |
+
title = "Kazakh transliterator",
|
140 |
theme = "default",
|
141 |
flagging_mode = "never"
|
142 |
)
|