Commit
·
09f19d8
1
Parent(s):
d6a5840
Update app.py
Browse filesAdded several other ITT models
app.py
CHANGED
|
@@ -20,8 +20,17 @@ endpoint_base_url = "https://api-inference.huggingface.co/models/"
|
|
| 20 |
endpoints = [
|
| 21 |
"Salesforce/blip-image-captioning-large",
|
| 22 |
"Salesforce/blip-image-captioning-base",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
"nlpconnect/vit-gpt2-image-captioning",
|
|
|
|
|
|
|
|
|
|
| 24 |
]
|
|
|
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
# --- Define helper functions ---
|
|
|
|
| 20 |
endpoints = [
|
| 21 |
"Salesforce/blip-image-captioning-large",
|
| 22 |
"Salesforce/blip-image-captioning-base",
|
| 23 |
+
"Salesforce/blip2-opt-2.7b",
|
| 24 |
+
"Salesforce/instructblip-vicuna-7b",
|
| 25 |
+
"Salesforce/instructblip-flan-t5-xl",
|
| 26 |
+
"facebook/nougat-base",
|
| 27 |
"nlpconnect/vit-gpt2-image-captioning",
|
| 28 |
+
"jinhybr/OCR-Donut-CORD",
|
| 29 |
+
"microsoft/git-base",
|
| 30 |
+
"Norm/nougat-latex-base",
|
| 31 |
]
|
| 32 |
+
## Test later:
|
| 33 |
+
# "microsoft/kosmos-2-patch14-224",
|
| 34 |
|
| 35 |
|
| 36 |
# --- Define helper functions ---
|