Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -137,9 +137,8 @@ def get_gpus():
|
|
137 |
|
138 |
def get_data():
|
139 |
output = []
|
140 |
-
output.append({"gpus":get_gpus()})
|
141 |
-
|
142 |
-
output.append({"chain":blockchain.chain})
|
143 |
return output
|
144 |
|
145 |
with gr.Blocks() as demo:
|
|
|
137 |
|
138 |
def get_data():
|
139 |
output = []
|
140 |
+
output.append({"gpus":get_gpus(), "total":{"total" : blockchain.get_total_gpu_mem(), "used":38}, "chain":blockchain.chain})
|
141 |
+
|
|
|
142 |
return output
|
143 |
|
144 |
with gr.Blocks() as demo:
|