Spaces:
Sleeping
Sleeping
fix bug
Browse files
app.py
CHANGED
|
@@ -110,12 +110,13 @@ def create_interface():
|
|
| 110 |
gr.Markdown("## Search Runs")
|
| 111 |
search_exp_id = gr.Textbox(label="Experiment ID")
|
| 112 |
search_filter = gr.Textbox(label="Filter String")
|
|
|
|
| 113 |
search_max_results = gr.Number(label="Max Results", value=100, precision=0)
|
| 114 |
search_output = gr.JSON(label="Search Results")
|
| 115 |
search_button = gr.Button("Search")
|
| 116 |
search_button.click(
|
| 117 |
fn=search_runs,
|
| 118 |
-
inputs=[search_exp_id, search_filter, search_max_results],
|
| 119 |
outputs=search_output
|
| 120 |
)
|
| 121 |
|
|
|
|
| 110 |
gr.Markdown("## Search Runs")
|
| 111 |
search_exp_id = gr.Textbox(label="Experiment ID")
|
| 112 |
search_filter = gr.Textbox(label="Filter String")
|
| 113 |
+
search_order_by = gr.Textbox(label="Order By")
|
| 114 |
search_max_results = gr.Number(label="Max Results", value=100, precision=0)
|
| 115 |
search_output = gr.JSON(label="Search Results")
|
| 116 |
search_button = gr.Button("Search")
|
| 117 |
search_button.click(
|
| 118 |
fn=search_runs,
|
| 119 |
+
inputs=[search_exp_id, search_filter, search_order_by, search_max_results],
|
| 120 |
outputs=search_output
|
| 121 |
)
|
| 122 |
|