ldhldh commited on
Commit
56a1a6b
·
1 Parent(s): 5445d63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,10 +104,10 @@ col1.metric("Total GPU", f"{total_gpu} GB", f"{user_num} users are sharing now")
104
  col2.metric("Used", f"{used_gpu} GB")
105
  col3.metric("Percent", f"{100 * used_gpu/total_gpu} %",)
106
 
107
- chart_data = pd.DataFrame(timestamp_gpu_data)
108
 
109
  last_timestamp = sample_data['chain'][-1]['timestamp']
110
- st.area_chart(chart_data, columns = name_list,caption=f'last updated in timestamp {last_timestamp}.')
111
 
112
 
113
 
 
104
  col2.metric("Used", f"{used_gpu} GB")
105
  col3.metric("Percent", f"{100 * used_gpu/total_gpu} %",)
106
 
107
+ chart_data = pd.DataFrame(timestamp_gpu_data, columns = name_list)
108
 
109
  last_timestamp = sample_data['chain'][-1]['timestamp']
110
+ st.area_chart(chart_data, caption=f'last updated in timestamp {last_timestamp}.')
111
 
112
 
113