Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def scisearch(query, language, num_results=10):
|
|
66 |
return process_results(results, highlight_terms)
|
67 |
|
68 |
|
69 |
-
description = """# <p style="text-align: center; color: white;"> π <span style='color: #ff75b3;'
|
70 |
<span style='color: white;'>When you use <a href="todo" style="color: #ff75b3;">IceCoder</a> to generate code it might produce exact copies of code in the pretraining dataset. In that case the code requires
|
71 |
and with this search tool we aim to provide help to finding out where the code came from.</span>"""
|
72 |
|
@@ -80,9 +80,7 @@ if __name__ == "__main__":
|
|
80 |
with gr.Row():
|
81 |
gr.Markdown(value=description)
|
82 |
with gr.Row():
|
83 |
-
query = gr.Textbox(lines=
|
84 |
-
|
85 |
-
|
86 |
with gr.Row():
|
87 |
k = gr.Slider(1, 100, value=10, step=1, label="Max Results")
|
88 |
with gr.Row():
|
|
|
66 |
return process_results(results, highlight_terms)
|
67 |
|
68 |
|
69 |
+
description = """# <p style="text-align: center; color: white;"> π <span style='color: #ff75b3;'>π
SantaCoder:</span> Dataset Search π </p>
|
70 |
<span style='color: white;'>When you use <a href="todo" style="color: #ff75b3;">IceCoder</a> to generate code it might produce exact copies of code in the pretraining dataset. In that case the code requires
|
71 |
and with this search tool we aim to provide help to finding out where the code came from.</span>"""
|
72 |
|
|
|
80 |
with gr.Row():
|
81 |
gr.Markdown(value=description)
|
82 |
with gr.Row():
|
83 |
+
query = gr.Textbox(lines=5, placeholder="Type your query here...", label="Query")
|
|
|
|
|
84 |
with gr.Row():
|
85 |
k = gr.Slider(1, 100, value=10, step=1, label="Max Results")
|
86 |
with gr.Row():
|