devingulliver
commited on
Commit
β’
97d8622
1
Parent(s):
f4fdc5b
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,11 @@ with gr.Blocks() as demo:
|
|
56 |
table = gr.Dataframe()
|
57 |
|
58 |
namefilter.submit(filter_table, [namefilter,typefilter,archfilter,lcnsfilter], table)
|
|
|
59 |
for filter in [typefilter, archfilter, lcnsfilter]:
|
60 |
filter.input(filter_table, [namefilter,typefilter,archfilter,lcnsfilter], table)
|
|
|
|
|
61 |
|
62 |
with gr.Tab("π About"):
|
63 |
gr.Markdown("""
|
@@ -76,5 +79,4 @@ with gr.Blocks() as demo:
|
|
76 |
|
77 |
submit.click(fn=submit_model, inputs=model_name, outputs=output)
|
78 |
|
79 |
-
demo.load(fn=filter_table, inputs=[namefilter,typefilter,archfilter,lcnsfilter], outputs=table)
|
80 |
demo.launch()
|
|
|
56 |
table = gr.Dataframe()
|
57 |
|
58 |
namefilter.submit(filter_table, [namefilter,typefilter,archfilter,lcnsfilter], table)
|
59 |
+
|
60 |
for filter in [typefilter, archfilter, lcnsfilter]:
|
61 |
filter.input(filter_table, [namefilter,typefilter,archfilter,lcnsfilter], table)
|
62 |
+
|
63 |
+
demo.load(fn=filter_table, inputs=[namefilter,typefilter,archfilter,lcnsfilter], outputs=table)
|
64 |
|
65 |
with gr.Tab("π About"):
|
66 |
gr.Markdown("""
|
|
|
79 |
|
80 |
submit.click(fn=submit_model, inputs=model_name, outputs=output)
|
81 |
|
|
|
82 |
demo.launch()
|