sonobit commited on
Commit
dacde11
1 Parent(s): 8951d8a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks() as myApp:
4
+ with gr.Row():
5
+ with gr.Column(scale=1):
6
+ a = gr.Textbox(label='ตัวเลข A:')
7
+ b = gr.Textbox(label='ตัวเลข B:')
8
+ btn = gr.Button(label='คำนวณ')
9
+ with gr.Column(scale=1):
10
+ out = gr.Textbox(label='ผลลัพธ์')
11
+
12
+ myApp.launch()
13
+