huangshiyu commited on
Commit
0836350
1 Parent(s): b78d3a3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def add_new_eval(
61
  else:
62
  col = name_list.index(revision_name_textbox)
63
 
64
- if model_link == '':
65
  model_name = model_name # no url
66
  else:
67
  model_name = '[' + model_name + '](' + model_link + ')'
 
61
  else:
62
  col = name_list.index(revision_name_textbox)
63
 
64
+ if model_link == '' or "](" in model_name:
65
  model_name = model_name # no url
66
  else:
67
  model_name = '[' + model_name + '](' + model_link + ')'