jazzysnake commited on
Commit
d45041d
1 Parent(s): eddd3f1

mislabeling fix, tb size adjustment

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,7 +40,7 @@ def get_eu_regs_eval(data):
40
  eval = data.get('ai_eur_lex_eval', None)
41
  if eval is None:
42
  return gr.Textbox('No llm answer yet', show_label=False)
43
- return gr.Textbox(eval, show_label=False, lines=50)
44
 
45
 
46
  def get_eu_regs_sources(data):
@@ -56,7 +56,7 @@ def get_national_regs_eval(data):
56
  eval = data.get('ai_ger_eval')
57
  if eval is None:
58
  return gr.Textbox('No llm answer yet', show_label=False)
59
- return gr.Textbox(eval, show_label=False, lines=50)
60
 
61
 
62
  def get_national_regs_sources(data):
@@ -121,7 +121,7 @@ def main():
121
  placeholder='No answer yet', show_label=False
122
  )
123
  nat_regs_tab_sources = gr.Json({})
124
- with gr.Tab(STEP_NAMES[2]):
125
  comp_assesment_tab_text = gr.Textbox(
126
  placeholder='No answer yet', show_label=False
127
  )
 
40
  eval = data.get('ai_eur_lex_eval', None)
41
  if eval is None:
42
  return gr.Textbox('No llm answer yet', show_label=False)
43
+ return gr.Textbox(eval, show_label=False, lines=25)
44
 
45
 
46
  def get_eu_regs_sources(data):
 
56
  eval = data.get('ai_ger_eval')
57
  if eval is None:
58
  return gr.Textbox('No llm answer yet', show_label=False)
59
+ return gr.Textbox(eval, show_label=False, lines=25)
60
 
61
 
62
  def get_national_regs_sources(data):
 
121
  placeholder='No answer yet', show_label=False
122
  )
123
  nat_regs_tab_sources = gr.Json({})
124
+ with gr.Tab(STEP_NAMES[3]):
125
  comp_assesment_tab_text = gr.Textbox(
126
  placeholder='No answer yet', show_label=False
127
  )