Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import random as rd
|
3 |
|
4 |
-
with gr.Blocks() as
|
5 |
with gr.ROW():
|
6 |
with gr.column(scale=1):
|
7 |
inp = gr.Radio (CHOICES=list(range(10)),lable= 'เลือก 1 หมายเลข'
|
8 |
with gr.column(scale=1):
|
9 |
out= gr.textbox(lable='ผลลัพธ์')
|
10 |
-
|
|
|
1 |
import gradio as gr
|
2 |
import random as rd
|
3 |
|
4 |
+
with gr.Blocks() as myApp:
|
5 |
with gr.ROW():
|
6 |
with gr.column(scale=1):
|
7 |
inp = gr.Radio (CHOICES=list(range(10)),lable= 'เลือก 1 หมายเลข'
|
8 |
with gr.column(scale=1):
|
9 |
out= gr.textbox(lable='ผลลัพธ์')
|
10 |
+
myApp.launch()
|