ynhe commited on
Commit
8a71687
1 Parent(s): 697e4de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -26,7 +26,8 @@ def add_new_eval(
26
  LLM_type: str,
27
  LLM_name_textbox: str,
28
  ):
29
- if input_file is None:
 
30
  return "Error! Empty file!"
31
 
32
  upload_data=json.loads(input_file)
@@ -109,7 +110,7 @@ def on_filter_model_size_method_change(selected_columns):
109
  visible=True,
110
  )
111
 
112
- return filter_component.value
113
 
114
  block = gr.Blocks()
115
 
 
26
  LLM_type: str,
27
  LLM_name_textbox: str,
28
  ):
29
+ if input_file is None
30
+ :
31
  return "Error! Empty file!"
32
 
33
  upload_data=json.loads(input_file)
 
110
  visible=True,
111
  )
112
 
113
+ return filter_component#.value
114
 
115
  block = gr.Blocks()
116