Omnibus commited on
Commit
785022a
·
1 Parent(s): 325f04f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ rec_list = []
4
+
5
+
6
+
7
+
8
+ with gr.Blocks() as app:
9
+ with gr.Tab("Messages"):
10
+ with gr.Accordion("Key"):
11
+ with gr.Row():
12
+ input_address = gr.Image(label="Wallet",type="filepath")
13
+ input_key = gr.Image(label="Key",type="filepath")
14
+
15
+ with gr.Row():
16
+ with gr.Column():
17
+ rec=gr.Dropdown(label="Recipient", choices=[f for f in rec_list], allow_custom_value=True)
18
+ send_mes=gr.Textbox(label="Message", lines=6)
19
+ send_mes_btn=gr.Button()
20
+ rec_mes = gr.Textbox(lines=6)
21
+
22
+ app.launch()