ynhe commited on
Commit
2d05acc
1 Parent(s): 38f626f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def add_new_eval(
30
  ):
31
  if input_file is None:
32
  return "Error! Empty file!"
33
- if model_link == '' or model_name == '' or contact_email == '':
34
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
35
  # upload_data=json.loads(input_file)
36
  upload_content = input_file
 
30
  ):
31
  if input_file is None:
32
  return "Error! Empty file!"
33
+ if model_link == '' or model_name_textbox == '' or contact_email == '':
34
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
35
  # upload_data=json.loads(input_file)
36
  upload_content = input_file