Update app.py
Browse files
app.py
CHANGED
|
@@ -103,8 +103,8 @@ with gr.Blocks() as demo:
|
|
| 103 |
</div>""")
|
| 104 |
base64_in = gr.Textbox(label="Base64 Input")
|
| 105 |
base64_out = gr.Textbox(label="Base64 Output")
|
| 106 |
-
|
| 107 |
-
|
| 108 |
fn=process,
|
| 109 |
inputs=[secret_token, base64_in],
|
| 110 |
outputs=base64_out,
|
|
|
|
| 103 |
</div>""")
|
| 104 |
base64_in = gr.Textbox(label="Base64 Input")
|
| 105 |
base64_out = gr.Textbox(label="Base64 Output")
|
| 106 |
+
submit_btn = gr.Button("Submit")
|
| 107 |
+
submit_btn.click(
|
| 108 |
fn=process,
|
| 109 |
inputs=[secret_token, base64_in],
|
| 110 |
outputs=base64_out,
|