kovacsvi commited on
Commit
17687e1
·
1 Parent(s): bba8ce6

added header (title)

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -22,6 +22,7 @@ os.environ['TORCH_HOME'] = PATH
22
 
23
  css = '''
24
  .info {font-size: 3em; !important}
 
25
  '''
26
 
27
  HF_TOKEN = os.environ["hf_read"]
@@ -217,6 +218,8 @@ with gr.Blocks(css=css) as demo:
217
  The model is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
218
  The text you enter in the input box is automatically divided into sentences, and the analysis is performed on each sentence. Depending on the length of the text, this process may take a few seconds, but for longer texts, it can take up to 2-3 minutes.
219
  """
 
 
220
  gr.Markdown(introduction, elem_classes="info")
221
  with gr.Row():
222
  with gr.Column():
 
22
 
23
  css = '''
24
  .info {font-size: 3em; !important}
25
+ .title_ {text-align: center;}
26
  '''
27
 
28
  HF_TOKEN = os.environ["hf_read"]
 
218
  The model is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
219
  The text you enter in the input box is automatically divided into sentences, and the analysis is performed on each sentence. Depending on the length of the text, this process may take a few seconds, but for longer texts, it can take up to 2-3 minutes.
220
  """
221
+
222
+ gr.HTML("<h1>MORES Pulse</h1>", elem_classes="title_")
223
  gr.Markdown(introduction, elem_classes="info")
224
  with gr.Row():
225
  with gr.Column():