Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -43,7 +43,7 @@ client = InferenceClient(token=HF_TOKEN)
|
|
| 43 |
MODELS = {
|
| 44 |
"summary": "facebook/bart-large-cnn",
|
| 45 |
"caption": "Salesforce/blip-image-captioning-large",
|
| 46 |
-
"qa": "
|
| 47 |
}
|
| 48 |
|
| 49 |
# Modèles Pydantic
|
|
|
|
| 43 |
MODELS = {
|
| 44 |
"summary": "facebook/bart-large-cnn",
|
| 45 |
"caption": "Salesforce/blip-image-captioning-large",
|
| 46 |
+
"qa": "distilbert-base-cased-distilled-squad" # plus léger
|
| 47 |
}
|
| 48 |
|
| 49 |
# Modèles Pydantic
|