John Smith commited on
Commit
2cfa253
·
1 Parent(s): de5575b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
 
4
- def sentence_builder(quantity, animal, activity_list):
5
- return f"""The {quantity} {animal}s from went to the where they {" and ".join(activity_list)} until the """
6
 
7
 
8
  demo = gr.Interface(
@@ -10,13 +10,7 @@ demo = gr.Interface(
10
  [
11
  gr.Slider(2009, 2023, value=2009, label="Count", info="Choose a year between 2009 and 2023"),
12
  gr.Slider(0, 120167, value=0, label="Count", info="Enter mileage between 0 and 120167"),
13
- gr.Dropdown(
14
- ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
15
- ),
16
-
17
- gr.Dropdown(
18
- ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
19
- ),
20
 
21
  ],
22
  "text",
 
1
  import gradio as gr
2
 
3
 
4
+ def sentence_builder(quantity, animal):
5
+ return f"""The {quantity} {animal}s from went to the where they until the """
6
 
7
 
8
  demo = gr.Interface(
 
10
  [
11
  gr.Slider(2009, 2023, value=2009, label="Count", info="Choose a year between 2009 and 2023"),
12
  gr.Slider(0, 120167, value=0, label="Count", info="Enter mileage between 0 and 120167"),
13
+
 
 
 
 
 
 
14
 
15
  ],
16
  "text",