Spaces:
Runtime error
Runtime error
import gradio as gr | |
from utils import * | |
with gr.Blocks() as demo: | |
gr.Markdown("# Enter the 2 Docs.") | |
with gr.Tab("Checker"): | |
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("Check") | |
encrypt_button.click(final_main, inputs=[encrypt_msg, encrypt_key ], outputs=[encrypt_output]) | |
demo.launch(share=False); |