Spaces:
Runtime error
Runtime error
rodrigomasini
commited on
Commit
β’
3dad7d5
1
Parent(s):
dbcbd21
Update app.py
Browse files
app.py
CHANGED
@@ -329,7 +329,14 @@ def get_row_image2(images,captions = None, font = None):
|
|
329 |
|
330 |
return combine_images_horizontally(row_image_arr)
|
331 |
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
|
334 |
def concat_images_vertically_and_scale(images,scale_factor=2):
|
335 |
# ε θ½½ζζεΎε
|
|
|
329 |
|
330 |
return combine_images_horizontally(row_image_arr)
|
331 |
|
332 |
+
VISION_CONFIG_DICT = {
|
333 |
+
"hidden_size": 1024,
|
334 |
+
"intermediate_size": 4096,
|
335 |
+
"num_attention_heads": 16,
|
336 |
+
"num_hidden_layers": 24,
|
337 |
+
"patch_size": 14,
|
338 |
+
"projection_dim": 768
|
339 |
+
}
|
340 |
|
341 |
def concat_images_vertically_and_scale(images,scale_factor=2):
|
342 |
# ε θ½½ζζεΎε
|