John Smith commited on
Commit
55f0c34
·
1 Parent(s): 6caaed0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
 
4
  def sentence_builder(quantity, animal, countries, place, activity_list, morning):
5
- return f"""The {quantity} {animal}s from {" and ".join(countries)} went to the {place} where they {" and ".join(activity_list)} until the {"morning" if morning else "night"}"""
6
 
7
 
8
  demo = gr.Interface(
@@ -17,7 +17,7 @@ demo = gr.Interface(
17
  gr.Dropdown(
18
  ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
19
  ),
20
- gr.Checkbox(label="Morning", info="Did they do it in the morning?"),
21
  ],
22
  "text",
23
  #examples=[
 
2
 
3
 
4
  def sentence_builder(quantity, animal, countries, place, activity_list, morning):
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(
 
17
  gr.Dropdown(
18
  ["cat", "dog", "bird"], label="Animal", info="Will add more animals later!"
19
  ),
20
+
21
  ],
22
  "text",
23
  #examples=[