smejak commited on
Commit
0747d89
·
1 Parent(s): b34b80e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -10,7 +10,7 @@ from wallet import get_wallet
10
  config = Config('config.ini')
11
  ocean = Ocean(config)
12
 
13
- def w():
14
  account, mnemonic = get_wallet()
15
  return account, mnemonic
16
 
@@ -58,10 +58,9 @@ article = (
58
 
59
  interface = gr.Interface(
60
  w,
61
- #[
62
- # gr.inputs.Textbox(label="Private Key"),
63
- # gr.inputs.Textbox(placeholder="did:op:E2e123115d5758Dd4C6F434E1c142e72ed8B2820", label="Algorithm DID"),
64
- #],
65
  [
66
  #gr.outputs.Textbox(label="Public Key"),
67
  #gr.outputs.Textbox(label="ETH balance"),
 
10
  config = Config('config.ini')
11
  ocean = Ocean(config)
12
 
13
+ def w(hello):
14
  account, mnemonic = get_wallet()
15
  return account, mnemonic
16
 
 
58
 
59
  interface = gr.Interface(
60
  w,
61
+ [
62
+ gr.inputs.Textbox(label="Greetings"),
63
+ ],
 
64
  [
65
  #gr.outputs.Textbox(label="Public Key"),
66
  #gr.outputs.Textbox(label="ETH balance"),