Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 37 |
{"icon": "https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg",
|
| 38 |
"display_text": "Display Text Here!",
|
| 39 |
"text": "Try this example with this audio.",
|
| 40 |
-
"files": [os.path.join(os.path.dirname(__file__), "files/cantina.wav")]},
|
| 41 |
{"text": "Try this example with this image.",
|
| 42 |
"files": ["https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg", "https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg"]},
|
| 43 |
{"text": "This is just text, no files!"},
|
|
|
|
| 37 |
{"icon": "https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg",
|
| 38 |
"display_text": "Display Text Here!",
|
| 39 |
"text": "Try this example with this audio.",
|
| 40 |
+
"files": [os.path.join(os.path.dirname(__file__), "files/cantina.wav"), os.path.join(os.path.dirname(__file__), "files/cantina.wav"), os.path.join(os.path.dirname(__file__), "files/cantina.wav"), os.path.join(os.path.dirname(__file__), "files/cantina.wav"), os.path.join(os.path.dirname(__file__), "files/cantina.wav"), os.path.join(os.path.dirname(__file__), "files/cantina.wav")]},
|
| 41 |
{"text": "Try this example with this image.",
|
| 42 |
"files": ["https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg", "https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg"]},
|
| 43 |
{"text": "This is just text, no files!"},
|