Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
| 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")
|