lvwerra HF staff commited on
Commit
f881d21
β€’
1 Parent(s): 71e0590

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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;'>IceCoder:</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,9 +80,7 @@ if __name__ == "__main__":
80
  with gr.Row():
81
  gr.Markdown(value=description)
82
  with gr.Row():
83
- query = gr.Textbox(lines=1, max_lines=1, placeholder="Type your query here...", label="Query")
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():