kooldark commited on
Commit
c43938d
·
verified ·
1 Parent(s): de9cbdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -46,10 +46,10 @@ app = DiceProbabilityApp()
46
  iface = gr.Interface(
47
  fn=app.roll_dice,
48
  inputs=[
49
- gr.inputs.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 1"),
50
- gr.inputs.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 2"),
51
- gr.inputs.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 3"),
52
- gr.inputs.Dropdown(choices=["1", "3", "5", "10"], label="Số lần lắc")
53
  ],
54
  outputs="text",
55
  live=True,
 
46
  iface = gr.Interface(
47
  fn=app.roll_dice,
48
  inputs=[
49
+ gr.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 1"),
50
+ gr.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 2"),
51
+ gr.Dropdown(choices=app.valid_faces, label="Chọn mặt xúc xắc 3"),
52
+ gr.Dropdown(choices=["1", "3", "5", "10"], label="Số lần lắc")
53
  ],
54
  outputs="text",
55
  live=True,