crossroderick commited on
Commit
50a5fc4
·
1 Parent(s): ce4a74d

Line separator update

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -21,12 +21,6 @@ def transliterate(text: str) -> str:
21
 
22
  # HTML code for the description
23
  description_html = """
24
- <center><h1>🇰🇿 DalaT5</h1>
25
- <h2>Қазақша кириллица → латын графикасының транслитераторы</h2>
26
- <h3>Kazakh Cyrillic → Latin Script Transliterator</h3></center>
27
-
28
- <img src="img/line_sep.png" alt="Line separator">
29
-
30
  <div class="flip-card">
31
  <div class="flip-card-inner">
32
  <div class="flip-card-front">
@@ -175,8 +169,16 @@ a {
175
 
176
  # Interface
177
  with gr.Blocks(css = description_css) as demo:
 
 
 
 
 
 
 
 
 
178
  gr.HTML(description_html)
179
- gr.Markdown("---")
180
  gr.Interface(
181
  fn = transliterate,
182
  inputs = gr.Textbox(
 
21
 
22
  # HTML code for the description
23
  description_html = """
 
 
 
 
 
 
24
  <div class="flip-card">
25
  <div class="flip-card-inner">
26
  <div class="flip-card-front">
 
169
 
170
  # Interface
171
  with gr.Blocks(css = description_css) as demo:
172
+ gr.HTML("<center><h1>🇰🇿 DalaT5</h1><h2>Қазақша кириллица → латын графикасының транслитераторы</h2><h3>Kazakh Cyrillic → Latin Script Transliterator</h3></center>")
173
+ gr.Image(
174
+ value = "./img/line_sep.png",
175
+ show_label = False,
176
+ width = 800,
177
+ height = 40,
178
+ show_download_button = False,
179
+ show_fullscreen_button = False,
180
+ )
181
  gr.HTML(description_html)
 
182
  gr.Interface(
183
  fn = transliterate,
184
  inputs = gr.Textbox(