mgyigit commited on
Commit
3624a97
1 Parent(s): b363799

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -18,6 +18,16 @@ from src.saving_utils import *
18
  from src.vis_utils import *
19
  from src.bin.PROBE import run_probe
20
 
 
 
 
 
 
 
 
 
 
 
21
  def add_new_eval(
22
  human_file,
23
  skempi_file,
@@ -81,7 +91,7 @@ def update_leaderboard(selected_methods, selected_metrics):
81
  updated_df = get_baseline_df(selected_methods, selected_metrics)
82
  return updated_df
83
 
84
- block = gr.Blocks()
85
 
86
  with block:
87
  gr.Markdown(LEADERBOARD_INTRODUCTION)
 
18
  from src.vis_utils import *
19
  from src.bin.PROBE import run_probe
20
 
21
+ css = """
22
+ #processing-modal, #completion-modal {
23
+ position: fixed;
24
+ top: 50%;
25
+ left: 50%;
26
+ transform: translate(-50%, -50%);
27
+ z-index: 1000;
28
+ }
29
+ """
30
+
31
  def add_new_eval(
32
  human_file,
33
  skempi_file,
 
91
  updated_df = get_baseline_df(selected_methods, selected_metrics)
92
  return updated_df
93
 
94
+ block = gr.Blocks(css=css)
95
 
96
  with block:
97
  gr.Markdown(LEADERBOARD_INTRODUCTION)