lvwerra HF staff commited on
Commit
073a510
1 Parent(s): ea75bda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -32,13 +32,15 @@ def process_results(results, highlight_terms):
32
  repo_path = result["repo_path"]
33
 
34
  results_html += """\
35
- <p style='font-size:16px; font-family: Arial; text-align: left; color: white;'>Repository name: <span style='color: #ff75b3;'>{}</span></p>
36
- <p style='font-size:16px; font-family: Arial; text-align: left; color: white;'>Repository path: <span style='color: #ff75b3;'>{}</span></p>
37
- <p style='font-size:16px; font-family: Arial; text-align: left; color: white;'>Repository licenses: <span style='color: #ff75b3;'>{}</span></p>
38
- <pre style='height: 600px; overflow: scroll;'><code>{}</code></pre>
39
  <br>
 
 
 
40
  """.format(repo_name, repo_path, licenses, text_html)
41
- return results_html + "<hr>"
42
 
43
 
44
  def scisearch(query, language, num_results=10):
 
32
  repo_path = result["repo_path"]
33
 
34
  results_html += """\
35
+ <p style='font-size:16px; text-align: left; color: white;'>Repository name: <span style='color: #727cd6;'>{}</span></p>
36
+ <p style='font-size:16px; text-align: left; color: white;'>Repository path: <span style='color: #727cd6;'>{}</span></p>
37
+ <p style='font-size:16px; text-align: left; color: white;'>Repository licenses: <span style='color: #727cd6;'>{}</span></p>
 
38
  <br>
39
+ <pre style='height: 600px; overflow: scroll; color: #d9d9d9'><code>{}</code></pre>
40
+ <br>
41
+ <hr>
42
  """.format(repo_name, repo_path, licenses, text_html)
43
+ return results_html
44
 
45
 
46
  def scisearch(query, language, num_results=10):