Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -454,7 +454,7 @@ with gr.Blocks() as bc:
|
|
454 |
create_bc = gr.Button("Create New Blockchain")
|
455 |
#send=gr.Textbox(label="Sender")
|
456 |
send = gr.Dropdown(label="Sender", choices=[f for f in send_list], value = "Bank")
|
457 |
-
rec=gr.Dropdown(label="Recipient", choices=[f for f in rec_list])
|
458 |
am=gr.Textbox(label="Amount")
|
459 |
send_trans=gr.Button("Post Transaction")
|
460 |
mine_b = gr.Button("Mine Block")
|
|
|
454 |
create_bc = gr.Button("Create New Blockchain")
|
455 |
#send=gr.Textbox(label="Sender")
|
456 |
send = gr.Dropdown(label="Sender", choices=[f for f in send_list], value = "Bank")
|
457 |
+
rec=gr.Dropdown(label="Recipient", choices=[f for f in rec_list], allow_custom_value=True)
|
458 |
am=gr.Textbox(label="Amount")
|
459 |
send_trans=gr.Button("Post Transaction")
|
460 |
mine_b = gr.Button("Mine Block")
|