Spaces:
Runtime error
Runtime error
File size: 496 Bytes
c42f92d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import gradio as gr
from employee_3 import chatbot_function
with gr.Blocks() as demo:
gr.Markdown("""# Employees' Reviews""")
with gr.Row():
with gr.Column():
input_text = gr.Textbox(label='Input Text')
submit_buttton = gr.Button('Submit')
with gr.Column():
output_text = gr.Textbox()
submit_buttton.click(
fn = chatbot_function,
inputs=input_text,
outputs=output_text,
)
demo.launch() |