Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -688,7 +688,7 @@ with gr.Blocks(css=css) as demo:
|
|
688 |
|
689 |
@back_button.click(outputs=[search_page, dataset_page], js=scroll_to_top_js)
|
690 |
def show_search_page():
|
691 |
-
return gr.Column
|
692 |
|
693 |
@generate_full_dataset_button.click(inputs=[dataset_title, dataset_content, search_bar, select_namespace_dropdown, visibility_radio], outputs=[dataset_dataframe, generate_full_dataset_button, save_dataset_button])
|
694 |
def generate_full_dataset(title, content, search_query, namespace, visability):
|
@@ -775,7 +775,7 @@ with gr.Blocks(css=css) as demo:
|
|
775 |
yield {search_bar: query_params["q"]}
|
776 |
yield from _search_datasets(query_params["q"])
|
777 |
else:
|
778 |
-
yield {search_page: gr.Column
|
779 |
|
780 |
def run_autorun():
|
781 |
while True:
|
|
|
688 |
|
689 |
@back_button.click(outputs=[search_page, dataset_page], js=scroll_to_top_js)
|
690 |
def show_search_page():
|
691 |
+
return gr.Column(visible=True), gr.Column(visible=False)
|
692 |
|
693 |
@generate_full_dataset_button.click(inputs=[dataset_title, dataset_content, search_bar, select_namespace_dropdown, visibility_radio], outputs=[dataset_dataframe, generate_full_dataset_button, save_dataset_button])
|
694 |
def generate_full_dataset(title, content, search_query, namespace, visability):
|
|
|
775 |
yield {search_bar: query_params["q"]}
|
776 |
yield from _search_datasets(query_params["q"])
|
777 |
else:
|
778 |
+
yield {search_page: gr.Column(visible=True)}
|
779 |
|
780 |
def run_autorun():
|
781 |
while True:
|