entropy25 commited on
Commit
c20d23b
·
verified ·
1 Parent(s): 6182f82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -383,14 +383,7 @@ custom_css = """
383
 
384
  with gr.Blocks(css=custom_css, theme=gr.themes.Default()) as demo:
385
 
386
- gr.HTML("""
387
- <div class='disclaimer'>
388
- <strong>Privacy & Compliance:</strong> This model is fine-tuned on public domain oil & gas terminology.
389
- No proprietary data was used in training. Local inference ensures data privacy and GDPR compliance.
390
- <br><br>
391
- <strong>Terminology Enforcement:</strong> Advanced lexical constraints for critical technical terms are currently in development.
392
- </div>
393
- """)
394
 
395
  with gr.Row():
396
  quality_preset = gr.Radio(
@@ -515,6 +508,15 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Default()) as demo:
515
  run_test_btn = gr.Button("Run Quality Regression Test", variant="secondary")
516
  run_test_btn.click(fn=run_quality_tests, outputs=test_output)
517
 
 
 
 
 
 
 
 
 
 
518
  source_lang.change(fn=update_example_buttons, inputs=[source_lang], outputs=[example_text])
519
 
520
  translate_btn.click(
 
383
 
384
  with gr.Blocks(css=custom_css, theme=gr.themes.Default()) as demo:
385
 
386
+ gr.HTML("<div style='height: 20px'></div>")
 
 
 
 
 
 
 
387
 
388
  with gr.Row():
389
  quality_preset = gr.Radio(
 
508
  run_test_btn = gr.Button("Run Quality Regression Test", variant="secondary")
509
  run_test_btn.click(fn=run_quality_tests, outputs=test_output)
510
 
511
+ gr.HTML("""
512
+ <div class='disclaimer'>
513
+ <strong>Privacy & Compliance:</strong> This model is fine-tuned on public domain oil & gas terminology.
514
+ No proprietary data was used in training. Local inference ensures data privacy and GDPR compliance.
515
+ <br><br>
516
+ <strong>Terminology Enforcement:</strong> Advanced lexical constraints for critical technical terms are currently in development.
517
+ </div>
518
+ """)
519
+
520
  source_lang.change(fn=update_example_buttons, inputs=[source_lang], outputs=[example_text])
521
 
522
  translate_btn.click(