Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
63 |
-
|
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"),
|