richardblythman commited on
Commit
8c7a87b
·
1 Parent(s): 012fcba

improve description

Browse files
Files changed (1) hide show
  1. app.py +8 -9
app.py CHANGED
@@ -27,16 +27,15 @@ def wallet(private_key, did):
27
  return address, eth_balance, ocean_balance, alg_token_balance
28
 
29
  description = (
30
- "The Ocean marketplace allows you to publish and sell algorithms and datasets in exchange for crypto tokens. "
31
- "This demo counts the number of ETH and OCEAN tokens in your wallet for a given private key. It uses a test network (Rinkeby) where the tokens have no real value. "
32
- "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 test tokens). "
33
- "For a guide on how to install MetaMask wallet (an extension in your browser), check the link at the bottom of the page. "
34
- "Initially, your wallet should have no tokens. You can request ETH and OCEAN test tokens from faucets at the links at the bottom of the page. "
35
- "You can also count the number of algorithm tokens in your wallet for an algorithm that you specify. "
36
- "To buy an algorithm token, you can search for algorithms on the Ocean marketplace (see link at bottom). Make sure to use algorithms that are on the Rinkeby test network (you need to select Rinkeby from the dropdown menu). "
37
  "We have provided a link to our DCGAN model on the test network at the bottom. If you can't see it you are not on the test network. "
38
  "After you buy an algorithm token, you need to locate the DID in the metadata on the marketplace. Then enter it into the input textbox. "
39
- "Later we will add HF spaces apps to search algorithms and buy algorithm tokens, which you can use to run demos of the algorithms."
40
  )
41
 
42
  article = (
@@ -63,7 +62,7 @@ interface = gr.Interface(
63
  gr.outputs.Textbox(label="OCEAN balance"),
64
  gr.outputs.Textbox(label="Algorithm token balance"),
65
  ],
66
- title="Token Calculator (for running ML algorithms using Ocean)",
67
  description=description,
68
  article=article,
69
  theme="huggingface",
 
27
  return address, eth_balance, ocean_balance, alg_token_balance
28
 
29
  description = (
30
+ "This demo shows the balance of algorithm tokens, as well as ETH and OCEAN, in your Web3 wallet (for a given private key). The algorithm tokens will be used to run Algovera apps on HF spaces in future. "
31
+ "Currently, you need to export your private key from a MetaMask wallet (we plan to randomly generate a private key in the app and bypass MetaMask in future)."
32
+ "For a guide on how to install MetaMask (an extension in your browser), check the link at the bottom of the page. "
33
+ "We highly recommend doing this with a wallet that has no real tokens in it. We use a test network (Rinkeby) where the tokens have no real value. "
34
+ "After an initial setup, your wallet should have no tokens. You can request ETH and OCEAN test tokens from faucets at the links at the bottom of the page. "
35
+ "To buy an algorithm token (using the OCEAN and ETH), you can search for algorithms on the Ocean marketplace (see link at bottom). Make sure to use algorithms that are on the Rinkeby test network (you need to select Rinkeby from the dropdown menu). "
 
36
  "We have provided a link to our DCGAN model on the test network at the bottom. If you can't see it you are not on the test network. "
37
  "After you buy an algorithm token, you need to locate the DID in the metadata on the marketplace. Then enter it into the input textbox. "
38
+ "Later we will add HF Spaces apps to search algorithms and buy algorithm tokens, which you can use to run demos of the algorithms."
39
  )
40
 
41
  article = (
 
62
  gr.outputs.Textbox(label="OCEAN balance"),
63
  gr.outputs.Textbox(label="Algorithm token balance"),
64
  ],
65
+ title="Web3 Algorithm Wallet",
66
  description=description,
67
  article=article,
68
  theme="huggingface",