JohnTan38 commited on
Commit
3eead75
1 Parent(s): 4667806

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def calculator(num1, operation, num2):
13
  demo = gr.Interface(
14
  fn=calculator,
15
  inputs=[
16
- gr.Number(value=4),
17
  gr.Radio(["thêm vào", "trừ đi","nhân","chia"]),
18
  "number"
19
  ],
@@ -25,4 +25,4 @@ demo = gr.Interface(
25
  description="Máy tính. thêm vào. trừ. nhân"
26
  )
27
 
28
- demo.launch(debug=True, share=True)
 
13
  demo = gr.Interface(
14
  fn=calculator,
15
  inputs=[
16
+ gr.Number(value=2),
17
  gr.Radio(["thêm vào", "trừ đi","nhân","chia"]),
18
  "number"
19
  ],
 
25
  description="Máy tính. thêm vào. trừ. nhân"
26
  )
27
 
28
+ demo.launch(debug=True)