loubnabnl HF staff commited on
Commit
a8a4a02
β€’
1 Parent(s): 5512dad

update text color

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,8 +67,8 @@ def search(query, num_results=10):
67
  results = [{"text": hit.content, "repository": f"{hit.repository}/{hit.path}", "license": hit.license, "language": hit.language} for hit in response]
68
  return process_results(results)
69
 
70
- description = """# <p style="text-align: center; color: white;"><span style='color: #e6b800;'>StarCoder:</span> Dataset Search πŸ” </p>
71
- <span style='color: white;'>When using <a href="https://huggingface.co/bigcode/large-model" style="color: #e6b800;">StarCoder</a> to generate code, it might produce exact copies of code in the pretraining dataset. \
72
  In that case, the code license might have requirements to comply with. With this search tool, our aim is to help in identifying if the code belongs to an existing repository. For exact matches, enclose your query in double quotes.</span>"""
73
 
74
  theme = gr.themes.Monochrome(
 
67
  results = [{"text": hit.content, "repository": f"{hit.repository}/{hit.path}", "license": hit.license, "language": hit.language} for hit in response]
68
  return process_results(results)
69
 
70
+ description = """# <p style="text-align: center;"><span style='color: #e6b800;'>StarCoder:</span> Dataset Search πŸ” </p>
71
+ <span>When using <a href="https://huggingface.co/bigcode/large-model" style="color: #e6b800;">StarCoder</a> to generate code, it might produce exact copies of code in the pretraining dataset. \
72
  In that case, the code license might have requirements to comply with. With this search tool, our aim is to help in identifying if the code belongs to an existing repository. For exact matches, enclose your query in double quotes.</span>"""
73
 
74
  theme = gr.themes.Monochrome(