devingulliver commited on
Commit
97d8622
β€’
1 Parent(s): f4fdc5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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()