hexuan21 commited on
Commit
c90045f
1 Parent(s): 9d2250f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,7 +61,7 @@ with block:
61
  gr.Markdown(
62
  TABLE_INTRODUCTION
63
  )
64
- data_component=gr.components.Dataframe(
65
  value=get_df_t2(),
66
  headers=COLUMN_NAMES_T2,
67
  type="pandas",
@@ -72,7 +72,7 @@ with block:
72
  )
73
 
74
  refresh_button = gr.Button("Refresh")
75
- refresh_button.click(fn=refresh_data_t2, outputs=data_component)
76
 
77
 
78
 
 
61
  gr.Markdown(
62
  TABLE_INTRODUCTION
63
  )
64
+ data_component_2=gr.components.Dataframe(
65
  value=get_df_t2(),
66
  headers=COLUMN_NAMES_T2,
67
  type="pandas",
 
72
  )
73
 
74
  refresh_button = gr.Button("Refresh")
75
+ refresh_button.click(fn=refresh_data_t2, outputs=data_component_2)
76
 
77
 
78