Pavel Duchovny commited on
Commit
56e98fa
·
1 Parent(s): c69fe75

new features

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -141,17 +141,7 @@ with gr.Blocks() as demo:
141
  gr.Slider(minimum=500, maximum=10000, randomize=False, step=5, label="Radius in meters")],
142
  [gr.Textbox(label="MongoDB Vector Recommendations", placeholder="Results will be displayed here"), "html",
143
  gr.Code(label="Pre-aggregate pipeline",language="json" ),
144
- gr.Code(label="Vector Query", language="json")],
145
- examples=[
146
- ["Laxuary italian",
147
- [("Westside Manhattan", {
148
- "type": "Point",
149
- "coordinates": [-74.013686, 40.701975]
150
- })]
151
- , 1500]
152
-
153
- ],
154
- live=False
155
  )
156
 
157
 
 
141
  gr.Slider(minimum=500, maximum=10000, randomize=False, step=5, label="Radius in meters")],
142
  [gr.Textbox(label="MongoDB Vector Recommendations", placeholder="Results will be displayed here"), "html",
143
  gr.Code(label="Pre-aggregate pipeline",language="json" ),
144
+ gr.Code(label="Vector Query", language="json")]
 
 
 
 
 
 
 
 
 
 
145
  )
146
 
147