Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
9df72f4
1
Parent(s):
99a794f
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
-
def sentence_builder(quantity, animal,
|
5 |
-
return f"""The {quantity} {animal}s from
|
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 |
-
|
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 |
),
|