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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,6 @@
1
  __all__ = ['block', 'make_clickable_model', 'make_clickable_user', 'get_submissions']
2
  import os
 
3
  import gradio as gr
4
  import pandas as pd
5
  import json
@@ -26,8 +27,7 @@ def add_new_eval(
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)
 
1
  __all__ = ['block', 'make_clickable_model', 'make_clickable_user', 'get_submissions']
2
  import os
3
+
4
  import gradio as gr
5
  import pandas as pd
6
  import json
 
27
  LLM_type: str,
28
  LLM_name_textbox: str,
29
  ):
30
+ if input_file is None:
 
31
  return "Error! Empty file!"
32
 
33
  upload_data=json.loads(input_file)