Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,12 +25,12 @@ def ImageChat(image, prompt):
|
|
| 25 |
app = gr.Interface(ImageChat,
|
| 26 |
inputs = [gr.Image(), gr.Text()],
|
| 27 |
outputs = gr.Text(label = "Chat"),
|
| 28 |
-
examples = [
|
| 29 |
"desk.jpg",
|
| 30 |
"clown.png"],
|
| 31 |
-
["What is this image about?",
|
| 32 |
"List the items in this image",
|
| 33 |
-
"Give me 5 facts about this image."]
|
| 34 |
title = "Image Chat",
|
| 35 |
theme = gr.themes.Soft())
|
| 36 |
|
|
|
|
| 25 |
app = gr.Interface(ImageChat,
|
| 26 |
inputs = [gr.Image(), gr.Text()],
|
| 27 |
outputs = gr.Text(label = "Chat"),
|
| 28 |
+
examples = {"Images":["drums.jpg",
|
| 29 |
"desk.jpg",
|
| 30 |
"clown.png"],
|
| 31 |
+
"Text":["What is this image about?",
|
| 32 |
"List the items in this image",
|
| 33 |
+
"Give me 5 facts about this image."]},
|
| 34 |
title = "Image Chat",
|
| 35 |
theme = gr.themes.Soft())
|
| 36 |
|