Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -146,9 +146,9 @@ def get_coin(id):
|
|
146 |
|
147 |
|
148 |
def get_gpus():
|
149 |
-
output =
|
150 |
for id, mem in blockchain.user_gpus.items():
|
151 |
-
output
|
152 |
return output
|
153 |
def used_gpu():
|
154 |
output = 0
|
|
|
146 |
|
147 |
|
148 |
def get_gpus():
|
149 |
+
output = {}
|
150 |
for id, mem in blockchain.user_gpus.items():
|
151 |
+
output[get_name(id)]=mem
|
152 |
return output
|
153 |
def used_gpu():
|
154 |
output = 0
|