John Smith commited on
Commit
2682122
·
1 Parent(s): efc961c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -8,15 +8,15 @@ def sentence_builder(quantity, animal, countries, place, activity_list, morning)
8
  demo = gr.Interface(
9
  sentence_builder,
10
  [
11
- gr.Slider(2009, 2023, value=4, label="Count", info="Choose a year between 2009 and 2023"),
12
- #gr.Dropdown(
13
- # ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
14
- #),
15
- #gr.CheckboxGroup(["USA", "Japan", "Pakistan"], label="Countries", info="Where are they from?"),
16
- #gr.Dropdown(
17
- # ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
18
- #),
19
- #gr.Checkbox(label="Morning", info="Did they do it in the morning?"),
20
  ],
21
  "text",
22
  examples=[
 
8
  demo = gr.Interface(
9
  sentence_builder,
10
  [
11
+ gr.Slider(2009, 2023, value=1, label="Count", info="Choose a year between 2009 and 2023"),
12
+ gr.Dropdown(
13
+ ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
14
+ ),
15
+ gr.CheckboxGroup(["USA", "Japan", "Pakistan"], label="Countries", info="Where are they from?"),
16
+ gr.Dropdown(
17
+ ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
18
+ ),
19
+ gr.Checkbox(label="Morning", info="Did they do it in the morning?"),
20
  ],
21
  "text",
22
  examples=[