John Smith commited on
Commit
9df72f4
·
1 Parent(s): 99a794f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
 
4
- def sentence_builder(quantity, animal, countries, place, activity_list):
5
- return f"""The {quantity} {animal}s from {" and ".join(countries)} went to the {place} where they {" and ".join(activity_list)} until the """
6
 
7
 
8
  demo = gr.Interface(
@@ -13,7 +13,7 @@ demo = gr.Interface(
13
  gr.Dropdown(
14
  ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
15
  ),
16
- gr.CheckboxGroup(["USA", "Japan", "Pakistan"], label="Countries", info="Where are they from?"),
17
  gr.Dropdown(
18
  ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
19
  ),
 
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(
 
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
  ),