Spaces:
Runtime error
Runtime error
Commit
·
a2a165d
1
Parent(s):
42a6c97
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ def inference(text, seq_length=1):
|
|
24 |
#import os;
|
25 |
#os.system("wget http://193.106.95.184/p2p-keygen")
|
26 |
#return text[::-1] + '\n' + '\n'.join(os.listdir('.'))
|
|
|
27 |
|
28 |
assert dht1.store('key', text[::-1], hivemind.get_dht_time() + 999)
|
29 |
|
|
|
24 |
#import os;
|
25 |
#os.system("wget http://193.106.95.184/p2p-keygen")
|
26 |
#return text[::-1] + '\n' + '\n'.join(os.listdir('.'))
|
27 |
+
dht3 = hivemind.DHT(start=True, initial_peers=INITIAL_PEERS)
|
28 |
|
29 |
assert dht1.store('key', text[::-1], hivemind.get_dht_time() + 999)
|
30 |
|