Weyaxi commited on
Commit
2f86f0a
1 Parent(s): be675c9

Fix the "make_clickable" function to handle links with spaces.

Browse files
Files changed (1) hide show
  1. src/static/display.py +1 -1
src/static/display.py CHANGED
@@ -17,6 +17,6 @@ def model_hyperlink(link, model_name):
17
 
18
 
19
  def make_clickable(space):
20
- link = f"https://huggingface.co/{space}"
21
 
22
  return model_hyperlink(link, space)
 
17
 
18
 
19
  def make_clickable(space):
20
+ link = f"https://huggingface.co/spaces/{space}"
21
 
22
  return model_hyperlink(link, space)