Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -130,9 +130,9 @@ def get_coin(id):
|
|
130 |
|
131 |
|
132 |
def get_gpus():
|
133 |
-
|
134 |
for id, mem in blockchain.user_gpus.items():
|
135 |
-
|
136 |
return output
|
137 |
|
138 |
def get_data():
|
|
|
130 |
|
131 |
|
132 |
def get_gpus():
|
133 |
+
output = []
|
134 |
for id, mem in blockchain.user_gpus.items():
|
135 |
+
output.append({"name":get_name(id),"gpu":mem})
|
136 |
return output
|
137 |
|
138 |
def get_data():
|