has12zen
Test
1c13527
raw history blame
No virus
529 Bytes
import gradio as gr
from utils import *
with gr.Blocks() as demo:
gr.Markdown("# Enter the 2 Docs.")
with gr.Tab("Encrypt"):
with gr.Row():
with gr.Column():
encrypt_msg = gr.Textbox(lines=2, label="Doc1")
encrypt_key = gr.Textbox(lines=2, label="Doc2")
encrypt_output = gr.Textbox()
encrypt_button = gr.Button("Encrypt")
encrypt_button.click(final_main, inputs=[encrypt_msg, encrypt_key ], outputs=[encrypt_output])
demo.launch(share=False);