Spaces:
Sleeping
Sleeping
Commit
·
c3db1ad
1
Parent(s):
a7c5b39
Add code
Browse files
app.py
CHANGED
@@ -242,8 +242,11 @@ with gr.Blocks() as block:
|
|
242 |
"""
|
243 |
)
|
244 |
with gr.Row():
|
245 |
-
|
246 |
-
|
|
|
|
|
|
|
247 |
with gr.Row():
|
248 |
with gr.Group():
|
249 |
audio_out = gr.Audio(label="Bed time story", streaming=True, autoplay=True)
|
|
|
242 |
"""
|
243 |
)
|
244 |
with gr.Row():
|
245 |
+
with gr.Row():
|
246 |
+
subject = gr.Dropdown(value="Princess", choices=["Prince", "Princess", "Dog", "Cat"])
|
247 |
+
setting = gr.Dropdown(value="Forest", choices=["Forest", "Kingdom", "Jungle", "Underwater"])
|
248 |
+
with gr.Row():
|
249 |
+
run_button = gr.Button("Generate Story", variant="Primary")
|
250 |
with gr.Row():
|
251 |
with gr.Group():
|
252 |
audio_out = gr.Audio(label="Bed time story", streaming=True, autoplay=True)
|