Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def process_results(results, query):
|
|
39 |
language = result["language"]
|
40 |
code_height = min(600, len(text_html.split('\n')) * 20) # limit to maximum height of 600px
|
41 |
results_html += """\
|
42 |
-
<p style='font-size:16px; text-align: left;'><b>Source: </b><a target="_blank" href="https://github.com/{}">{}</a> | <b>Language:</b> \
|
43 |
<span style='color: #00134d;'>{}</span> | <b>License: </b><span style='color: #00134d;'>{}</span></p>
|
44 |
<br>
|
45 |
<pre style='height: {}px; overflow-y: scroll; overflow-x: hidden; color: #d9d9d9;border: 1px solid #e6b800; padding: 10px'><code>{}</code></pre>
|
|
|
39 |
language = result["language"]
|
40 |
code_height = min(600, len(text_html.split('\n')) * 20) # limit to maximum height of 600px
|
41 |
results_html += """\
|
42 |
+
<p style='font-size:16px; text-align: left;'><b>Source: </b><a target="_blank" href="https://github.com/tree/master/{}">{}</a> | <b>Language:</b> \
|
43 |
<span style='color: #00134d;'>{}</span> | <b>License: </b><span style='color: #00134d;'>{}</span></p>
|
44 |
<br>
|
45 |
<pre style='height: {}px; overflow-y: scroll; overflow-x: hidden; color: #d9d9d9;border: 1px solid #e6b800; padding: 10px'><code>{}</code></pre>
|