Spaces:
Runtime error
Runtime error
| 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() | |