Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ with gr.Blocks() as demo:
|
|
15 |
t = gr.Textbox(placeholder="Search for a term", show_label=False)
|
16 |
df = gr.Dataframe(value=data)
|
17 |
|
18 |
-
t.change(fn=filter_rows_by_term, inputs=[df_orig, t], outputs=[df])
|
19 |
|
20 |
if __name__ == "__main__":
|
21 |
demo.launch()
|
|
|
15 |
t = gr.Textbox(placeholder="Search for a term", show_label=False)
|
16 |
df = gr.Dataframe(value=data)
|
17 |
|
18 |
+
t.change(fn=filter_rows_by_term, inputs=[df_orig, t], outputs=[df], js=True)
|
19 |
|
20 |
if __name__ == "__main__":
|
21 |
demo.launch()
|