Spaces:
Runtime error
Runtime error
File size: 527 Bytes
1c13527 7d25dea 1c13527 7d25dea 1c13527 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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); |