Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,10 @@ def vqa_main(image, question):
|
|
55 |
# Home page text
|
56 |
title = "Interactive demo: Multilingual VQA"
|
57 |
description = "Demo for Multilingual VQA. Upload an image, type a question, click 'submit', or click one of the examples to load them."
|
58 |
-
article = "
|
|
|
|
|
|
|
59 |
'af': 'afrikaans',
|
60 |
'sq': 'albanian',
|
61 |
'am': 'amharic',
|
@@ -162,7 +165,8 @@ article = "Supported Languages:
|
|
162 |
'xh': 'xhosa',
|
163 |
'yi': 'yiddish',
|
164 |
'yo': 'yoruba',
|
165 |
-
'zu': 'zulu',
|
|
|
166 |
|
167 |
# Load example images
|
168 |
torch.hub.download_url_to_file('http://farm3.staticflickr.com/2710/4520550856_7a9f9ea59d_z.jpg', 'apple.jpg')
|
|
|
55 |
# Home page text
|
56 |
title = "Interactive demo: Multilingual VQA"
|
57 |
description = "Demo for Multilingual VQA. Upload an image, type a question, click 'submit', or click one of the examples to load them."
|
58 |
+
article = """
|
59 |
+
Note: You may see Error displayed for output due to Gradio's incompatibility, if that is the case, please click "Logs" above to check the output for your request.
|
60 |
+
|
61 |
+
Supported Languages:
|
62 |
'af': 'afrikaans',
|
63 |
'sq': 'albanian',
|
64 |
'am': 'amharic',
|
|
|
165 |
'xh': 'xhosa',
|
166 |
'yi': 'yiddish',
|
167 |
'yo': 'yoruba',
|
168 |
+
'zu': 'zulu',
|
169 |
+
"""
|
170 |
|
171 |
# Load example images
|
172 |
torch.hub.download_url_to_file('http://farm3.staticflickr.com/2710/4520550856_7a9f9ea59d_z.jpg', 'apple.jpg')
|