Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
2cfa253
1
Parent(s):
de5575b
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 went to the where they
|
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 |
-
|
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",
|