Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ col1.metric("Total GPU", f"{total_gpu} GB", f"{user_num} users are sharing now")
|
|
| 106 |
col2.metric("Used", f"{used_gpu} GB")
|
| 107 |
col3.metric("Percent", f"{round(100 * used_gpu/total_gpu, 2)} %",)
|
| 108 |
|
| 109 |
-
chart_data = pd.DataFrame(timestamp_gpu_data, columns = name_list,
|
| 110 |
|
| 111 |
last_timestamp = sample_data['chain'][-1]['timestamp']
|
| 112 |
st.area_chart(chart_data)
|
|
|
|
| 106 |
col2.metric("Used", f"{used_gpu} GB")
|
| 107 |
col3.metric("Percent", f"{round(100 * used_gpu/total_gpu, 2)} %",)
|
| 108 |
|
| 109 |
+
chart_data = pd.DataFrame(timestamp_gpu_data, columns = name_list, index = timestamp_list)
|
| 110 |
|
| 111 |
last_timestamp = sample_data['chain'][-1]['timestamp']
|
| 112 |
st.area_chart(chart_data)
|