Spaces:
Runtime error
Runtime error
Commit
·
636a309
1
Parent(s):
b1e6808
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
-
def sentence_builder(
|
5 |
-
return f"""The {
|
6 |
|
7 |
|
8 |
demo = gr.Interface(
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
+
def sentence_builder(animal, place, activity_list, morning):
|
5 |
+
return f"""The {animal}s went to the {place} where they {" and ".join(activity_list)} until the {"morning" if morning else "night"}"""
|
6 |
|
7 |
|
8 |
demo = gr.Interface(
|