Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def process_results(results):
|
|
27 |
for result in results:
|
28 |
text_html = result["text"]
|
29 |
# text_html = mark_tokens_bold(text_html, highlight_terms)
|
30 |
-
repository = '<a href=\"https://github.com/' + result['repository'] +
|
31 |
license = result["license"]
|
32 |
language = result["language"]
|
33 |
code_height = min(600, len(text_html.split('\n')) * 20) # limit to maximum height of 600px
|
|
|
27 |
for result in results:
|
28 |
text_html = result["text"]
|
29 |
# text_html = mark_tokens_bold(text_html, highlight_terms)
|
30 |
+
repository = '<a href=\"https://github.com/' + result['repository'] + + '>' + result['repository'] + '</a>'
|
31 |
license = result["license"]
|
32 |
language = result["language"]
|
33 |
code_height = min(600, len(text_html.split('\n')) * 20) # limit to maximum height of 600px
|