whoami02 commited on
Commit
e91c674
·
verified ·
1 Parent(s): aa84992

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -27,6 +27,10 @@ def similarity_search2(vectordb, query, k, unique="True"):
27
  return str(np.array(temp))[1:-1]
28
 
29
  with gr.Blocks() as demo:
 
 
 
 
30
  query = gr.Textbox(placeholder="your query", label="Query")
31
  k = gr.Slider(10,1000,5, label="number of samples to check")
32
  unique = gr.Radio(["True", "False"], label="Return Unique values")
@@ -51,4 +55,4 @@ with gr.Blocks() as demo:
51
 
52
  # interface = gr.Interface(fn=auto_eda, inputs="dataframe", outputs="json")
53
  # demo.queue()
54
- demo.launch(debug=True)
 
27
  return str(np.array(temp))[1:-1]
28
 
29
  with gr.Blocks() as demo:
30
+ gr.Markdown(
31
+ """
32
+ <h2> <center> Query Retrieval </center> </h2>
33
+ """)
34
  query = gr.Textbox(placeholder="your query", label="Query")
35
  k = gr.Slider(10,1000,5, label="number of samples to check")
36
  unique = gr.Radio(["True", "False"], label="Return Unique values")
 
55
 
56
  # interface = gr.Interface(fn=auto_eda, inputs="dataframe", outputs="json")
57
  # demo.queue()
58
+ demo.launch()