cal-sample / app.py
sonobit's picture
Update app.py
8ac0a40
raw
history blame contribute delete
390 Bytes
import gradio as gr
with gr.Blocks() as myApp:
with gr.Row():
with gr.Column(scale=1):
a = gr.Textbox(label='ตัวเลข A:')
b = gr.Textbox(label='ตัวเลข B:')
btn = gr.Button(value='คำนวณ')
with gr.Column(scale=1):
out = gr.Textbox(label='ผลลัพธ์')
myApp.launch()