Spaces:
Runtime error
Runtime error
crypto-code
commited on
Commit
β’
872746b
1
Parent(s):
f32c01d
Update app.py
Browse files
app.py
CHANGED
@@ -314,6 +314,10 @@ with gr.Blocks() as demo:
|
|
314 |
history = gr.State([])
|
315 |
modality_cache = gr.State([])
|
316 |
uid = gr.State(uuid.uuid4())
|
|
|
|
|
|
|
|
|
317 |
|
318 |
submitBtn.click(
|
319 |
predict, [
|
|
|
314 |
history = gr.State([])
|
315 |
modality_cache = gr.State([])
|
316 |
uid = gr.State(uuid.uuid4())
|
317 |
+
gr.Examples(inputs=[user_input, image_path, audio_path, video_path],
|
318 |
+
examples=[["Generate a music to match the image", "./examples/drums.webp", None, None],
|
319 |
+
["Generate a music to match the mood of the black and white image", "./examples/sad.jpeg", None, None],
|
320 |
+
["Replace the piano with an accoustic guitar", None, "./examples/piano.wav", None]])
|
321 |
|
322 |
submitBtn.click(
|
323 |
predict, [
|