Pendrokar commited on
Commit
c81a597
1 Parent(s): 89b92be

link to HF Space click fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -694,7 +694,7 @@ def make_link_to_space(model_name):
694
  model_basename = HF_SPACES[model_name]['name']
695
 
696
  if '/' in model_name:
697
- return '🤗 <a target="_top" style="'+ style +'" title="'+ title +'" href="'+ 'https://huggingface.co/spaces/'+ model_name +'">'+ model_basename +'</a>'
698
 
699
  # otherwise just return the model name
700
  return model_name
 
694
  model_basename = HF_SPACES[model_name]['name']
695
 
696
  if '/' in model_name:
697
+ return '🤗 <a style="'+ style +'" title="'+ title +'" href="'+ 'https://huggingface.co/spaces/'+ model_name +'">'+ model_basename +'</a>'
698
 
699
  # otherwise just return the model name
700
  return model_name