Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,12 +53,16 @@ with gr.Blocks(css="#b {min-width:15px;background:transparent;}") as demo: #bord
|
|
53 |
with gr.Row():
|
54 |
gr.Markdown(value="""## <p style="text-align: center;"> Code search </p>""")
|
55 |
with gr.Row():
|
56 |
-
gr.
|
57 |
-
|
|
|
|
|
|
|
|
|
58 |
with gr.Row():
|
59 |
with gr.Column(scale=1):
|
60 |
result_list = gr.Dataframe(type="array", visible=False, col_count=1)
|
61 |
-
with gr.Column(scale=
|
62 |
query = gr.Textbox(lines=1, max_lines=1, placeholder="Search…", label="Query")
|
63 |
with gr.Column(scale=1):
|
64 |
with gr.Row(scale=1):
|
|
|
53 |
with gr.Row():
|
54 |
gr.Markdown(value="""## <p style="text-align: center;"> Code search </p>""")
|
55 |
with gr.Row():
|
56 |
+
with gr.Column(scale=1):
|
57 |
+
pass
|
58 |
+
with gr.Column(scale=15):
|
59 |
+
gr.Markdown("This search tool was used to validate tokenization scheme for code retrieval for the BigCode project. We indexed the [Santacoder](https://huggingface.co/bigcode/santacoder) training dataset (Python, Java, and JavaScript) and use a (2,4)-gram tokenizer to build the index. This is the same tokenization scheme that ended up being used to index the [StarCoder](https://huggingface.co/spaces/bigcode/search) dataset.")
|
60 |
+
with gr.Column(scale=1):
|
61 |
+
pass
|
62 |
with gr.Row():
|
63 |
with gr.Column(scale=1):
|
64 |
result_list = gr.Dataframe(type="array", visible=False, col_count=1)
|
65 |
+
with gr.Column(scale=15):
|
66 |
query = gr.Textbox(lines=1, max_lines=1, placeholder="Search…", label="Query")
|
67 |
with gr.Column(scale=1):
|
68 |
with gr.Row(scale=1):
|