ldhldh commited on
Commit
04094ba
·
1 Parent(s): bafa720

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ for block in sample_data['chain']:
97
  temp[name_list.index(t['id'])] += int(t['data'])
98
  elif t['kind'] == "out":
99
  temp[name_list.index(t['id'])] = 0
100
- timestamp_gpu_data.append(temp.copy())
101
 
102
  col1, col2, col3 = st.columns(3)
103
  col1.metric("Total GPU", f"{total_gpu} GB", f"{user_num} users are sharing now")
 
97
  temp[name_list.index(t['id'])] += int(t['data'])
98
  elif t['kind'] == "out":
99
  temp[name_list.index(t['id'])] = 0
100
+ timestamp_gpu_data.append(copy.deepcopy(temp))
101
 
102
  col1, col2, col3 = st.columns(3)
103
  col1.metric("Total GPU", f"{total_gpu} GB", f"{user_num} users are sharing now")