arshy commited on
Commit
f661028
·
1 Parent(s): dd5a703
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -164,12 +164,12 @@ with demo:
164
  refresh_button = gr.Button("Refresh Data")
165
  with gr.Column():
166
  latest_data_label = gr.Label(
167
- value=f"Last Datepoint: {trades_df['creation_timestamp'].max()}"
168
  )
169
 
170
  def refresh_callback():
171
  refresh_data()
172
- latest_data_label.value = f"Last Datepoint: {trades_df['creation_timestamp'].max()}"
173
  return latest_data_label.value
174
 
175
  refresh_button.click(refresh_callback, outputs=latest_data_label)
 
164
  refresh_button = gr.Button("Refresh Data")
165
  with gr.Column():
166
  latest_data_label = gr.Label(
167
+ value=f"Last data point: {trades_df['creation_timestamp'].max()}"
168
  )
169
 
170
  def refresh_callback():
171
  refresh_data()
172
+ latest_data_label.value = f"Last data point: {trades_df['creation_timestamp'].max()}"
173
  return latest_data_label.value
174
 
175
  refresh_button.click(refresh_callback, outputs=latest_data_label)