Spaces:
Running
Running
update text color
Browse files
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;
|
71 |
-
<span
|
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(
|