Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,11 +33,11 @@ with gr.Blocks(fill_height=True) as demo:
|
|
33 |
bubble_full_width=False,
|
34 |
scale=1,
|
35 |
placeholder='<h1 style="font-weight: bold; color: #FFFFFF; text-align: center; font-size: 48px; font-family: Arial, sans-serif;">Welcome to Gradio!</h1>',
|
36 |
-
examples=[{"icon":
|
37 |
-
{"text": "Try this example with this image.", "files": [
|
38 |
{"text": "This is just text, no files!"},
|
39 |
-
{"text": "Try this example with this image.", "files": [
|
40 |
-
{"text": "Try this example with this Audio.", "files": [
|
41 |
)
|
42 |
|
43 |
chat_input = gr.MultimodalTextbox(interactive=True,
|
|
|
33 |
bubble_full_width=False,
|
34 |
scale=1,
|
35 |
placeholder='<h1 style="font-weight: bold; color: #FFFFFF; text-align: center; font-size: 48px; font-family: Arial, sans-serif;">Welcome to Gradio!</h1>',
|
36 |
+
examples=[{"icon": "https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp", "https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp"), "display_text": "Display Text Here!", "text": "Try this example with this audio.", "files": [os.path.join(os.path.dirname(__file__), "files/cantina.wav")]},
|
37 |
+
{"text": "Try this example with this image.", "files": ["https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp", "https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp")]},
|
38 |
{"text": "This is just text, no files!"},
|
39 |
+
{"text": "Try this example with this image.", "files": ["https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp", "https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp"), os.path.join(os.path.dirname(__file__), "https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp")]},
|
40 |
+
{"text": "Try this example with this Audio.", "files": ["https://i.insider.com/5df14d0ee94e860668396b82?width=2000&format=jpeg&auto=webp", "files/cantina.wav")]}]
|
41 |
)
|
42 |
|
43 |
chat_input = gr.MultimodalTextbox(interactive=True,
|