Update app.py
Browse files
app.py
CHANGED
|
@@ -37,32 +37,32 @@ with gr.Blocks(title='MoE-LLaVA🚀') as demo:
|
|
| 37 |
print(cur_dir)
|
| 38 |
gr.Examples(
|
| 39 |
examples=[
|
| 40 |
-
[
|
| 41 |
"What is unusual about this image?",
|
| 42 |
],
|
| 43 |
-
[
|
| 44 |
"What are the things I should be cautious about when I visit here?",
|
| 45 |
],
|
| 46 |
-
[
|
| 47 |
"If there are factual errors in the questions, point it out; if not, proceed answering the question. What’s happening in the desert?",
|
| 48 |
],
|
| 49 |
-
[
|
| 50 |
"What is the title of this book?",
|
| 51 |
],
|
| 52 |
-
[
|
| 53 |
"What type of food is the girl holding?",
|
| 54 |
],
|
| 55 |
-
[
|
| 56 |
"What color is the train?",
|
| 57 |
],
|
| 58 |
-
[
|
| 59 |
"What is the girl looking at?",
|
| 60 |
],
|
| 61 |
-
[
|
| 62 |
"What might be the reason for the dog's aggressive behavior?",
|
| 63 |
],
|
| 64 |
],
|
| 65 |
-
inputs=[textbox],
|
| 66 |
)
|
| 67 |
|
| 68 |
# with gr.Column(scale=7):
|
|
|
|
| 37 |
print(cur_dir)
|
| 38 |
gr.Examples(
|
| 39 |
examples=[
|
| 40 |
+
[ "http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 41 |
"What is unusual about this image?",
|
| 42 |
],
|
| 43 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 44 |
"What are the things I should be cautious about when I visit here?",
|
| 45 |
],
|
| 46 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 47 |
"If there are factual errors in the questions, point it out; if not, proceed answering the question. What’s happening in the desert?",
|
| 48 |
],
|
| 49 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 50 |
"What is the title of this book?",
|
| 51 |
],
|
| 52 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 53 |
"What type of food is the girl holding?",
|
| 54 |
],
|
| 55 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 56 |
"What color is the train?",
|
| 57 |
],
|
| 58 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 59 |
"What is the girl looking at?",
|
| 60 |
],
|
| 61 |
+
["http://www.marketingtool.online/en/face-generator/img/faces/avatar-1151ce9f4b2043de0d2e3b7826127998.jpg",
|
| 62 |
"What might be the reason for the dog's aggressive behavior?",
|
| 63 |
],
|
| 64 |
],
|
| 65 |
+
inputs=[image1, textbox],
|
| 66 |
)
|
| 67 |
|
| 68 |
# with gr.Column(scale=7):
|