Spaces:
Runtime error
Runtime error
Commit
·
f8ec69f
1
Parent(s):
e82d1af
fix typo
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def wallet(private_key):
|
|
| 19 |
return address, eth_balance, ocean_balance
|
| 20 |
|
| 21 |
description = (
|
| 22 |
-
"This demo calculate the number of tokens in your wallet on the Rinkeby test network using the Ocean Python library. "
|
| 23 |
"You can export your private key from your metamask wallet. We highly recommend doing this with a wallet that has no real tokens in it (only Rinkeby tokens)."
|
| 24 |
"For more info on private keys, see [this](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/wallets.md) from the ocean.py documentation"
|
| 25 |
)
|
|
@@ -39,7 +39,7 @@ interface = gr.Interface(
|
|
| 39 |
[
|
| 40 |
gr.outputs.Textbox(label="Public Key"),
|
| 41 |
gr.outputs.Textbox(label="ETH balance"),
|
| 42 |
-
gr.outputs.Textbox(label="
|
| 43 |
],
|
| 44 |
title="Ocean Token Calculator",
|
| 45 |
description=description,
|
|
|
|
| 19 |
return address, eth_balance, ocean_balance
|
| 20 |
|
| 21 |
description = (
|
| 22 |
+
"This demo calculate the number of tokens in your wallet on the Rinkeby test network using the Ocean Python library. \n"
|
| 23 |
"You can export your private key from your metamask wallet. We highly recommend doing this with a wallet that has no real tokens in it (only Rinkeby tokens)."
|
| 24 |
"For more info on private keys, see [this](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/wallets.md) from the ocean.py documentation"
|
| 25 |
)
|
|
|
|
| 39 |
[
|
| 40 |
gr.outputs.Textbox(label="Public Key"),
|
| 41 |
gr.outputs.Textbox(label="ETH balance"),
|
| 42 |
+
gr.outputs.Textbox(label="OCEAN balance"),
|
| 43 |
],
|
| 44 |
title="Ocean Token Calculator",
|
| 45 |
description=description,
|