Spaces:
Runtime error
Runtime error
rusticluftig
commited on
Commit
·
479d13f
1
Parent(s):
a806654
Fix get_subnet_data
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ def get_subnet_data(
|
|
| 121 |
hotkey = metagraph.hotkeys[uid]
|
| 122 |
metadata = None
|
| 123 |
try:
|
| 124 |
-
metadata = run_with_retries(functools.partial(get_metadata
|
| 125 |
except:
|
| 126 |
print(f"Failed to get metadata for UID {uid}: {traceback.format_exc()}")
|
| 127 |
|
|
|
|
| 121 |
hotkey = metagraph.hotkeys[uid]
|
| 122 |
metadata = None
|
| 123 |
try:
|
| 124 |
+
metadata = run_with_retries(functools.partial(get_metadata, subtensor, metagraph.netuid, hotkey))
|
| 125 |
except:
|
| 126 |
print(f"Failed to get metadata for UID {uid}: {traceback.format_exc()}")
|
| 127 |
|