Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from data_list import DataList
|
3 |
-
|
4 |
-
|
5 |
-
data_list = DataList()
|
6 |
-
with gr.Blocks() as demo:
|
7 |
with gr.Row():
|
8 |
gr.Image(value="RAII.svg",scale=1,show_download_button=False,show_share_button=False,show_label=False,height=100,container=False)
|
9 |
gr.Markdown("# Datasets for Healthcare Teams")
|
@@ -17,7 +15,5 @@ def main():
|
|
17 |
demo.load(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,],outputs=[table,])
|
18 |
search_box.submit(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,], outputs=[table,])
|
19 |
search_button.click(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,], outputs=[table,])
|
20 |
-
|
21 |
-
|
22 |
-
if __name__ == '__main__':
|
23 |
-
main()
|
|
|
1 |
import gradio as gr
|
2 |
from data_list import DataList
|
3 |
+
data_list = DataList()
|
4 |
+
with gr.Blocks() as demo:
|
|
|
|
|
5 |
with gr.Row():
|
6 |
gr.Image(value="RAII.svg",scale=1,show_download_button=False,show_share_button=False,show_label=False,height=100,container=False)
|
7 |
gr.Markdown("# Datasets for Healthcare Teams")
|
|
|
15 |
demo.load(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,],outputs=[table,])
|
16 |
search_box.submit(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,], outputs=[table,])
|
17 |
search_button.click(fn=data_list.render, inputs=[search_box, case_sensitive, filter_names, data_types,], outputs=[table,])
|
18 |
+
demo.queue()
|
19 |
+
demo.launch(share=False)
|
|
|
|