Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,6 +124,10 @@ def proof(name):
|
|
| 124 |
if not p in peers:
|
| 125 |
add_transaction(get_id_from_p2p(peer), "out", 0)
|
| 126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
with gr.Blocks() as demo:
|
| 128 |
count = 0
|
| 129 |
aa = gr.Interface(
|
|
|
|
| 124 |
if not p in peers:
|
| 125 |
add_transaction(get_id_from_p2p(peer), "out", 0)
|
| 126 |
|
| 127 |
+
def get_coin(id):
|
| 128 |
+
c = Blockchain.get_user_balance(id)
|
| 129 |
+
return c
|
| 130 |
+
|
| 131 |
with gr.Blocks() as demo:
|
| 132 |
count = 0
|
| 133 |
aa = gr.Interface(
|