Spaces:
Sleeping
Sleeping
Commit
·
8710952
1
Parent(s):
0a65f9d
initial commit
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ def create_interface():
|
|
| 122 |
gr.Textbox(
|
| 123 |
label="Additional Info (Optional)",
|
| 124 |
placeholder="Enter any additional context (timestamps, etc)..."
|
| 125 |
-
)
|
| 126 |
],
|
| 127 |
outputs=[
|
| 128 |
gr.Code(label="MongoDB Query", language="javascript", lines=1),
|
|
@@ -241,7 +241,8 @@ def create_interface():
|
|
| 241 |
"Find orders with total amount greater than $100 that contain more than 3 items and were created in the last 24 hours",
|
| 242 |
'''{"current_time": 1685890800, "last_24_hours": 1685804400}'''
|
| 243 |
]
|
| 244 |
-
]
|
|
|
|
| 245 |
)
|
| 246 |
return iface
|
| 247 |
|
|
|
|
| 122 |
gr.Textbox(
|
| 123 |
label="Additional Info (Optional)",
|
| 124 |
placeholder="Enter any additional context (timestamps, etc)..."
|
| 125 |
+
),
|
| 126 |
],
|
| 127 |
outputs=[
|
| 128 |
gr.Code(label="MongoDB Query", language="javascript", lines=1),
|
|
|
|
| 241 |
"Find orders with total amount greater than $100 that contain more than 3 items and were created in the last 24 hours",
|
| 242 |
'''{"current_time": 1685890800, "last_24_hours": 1685804400}'''
|
| 243 |
]
|
| 244 |
+
],
|
| 245 |
+
cache_examples=False,
|
| 246 |
)
|
| 247 |
return iface
|
| 248 |
|