Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ import gradio as gr
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
# Chargement des pipelines/ les trois modeles
|
|
|
9 |
captioneur_blip = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
|
10 |
captioneur_git = pipeline("image-to-text", model="microsoft/git-base")
|
11 |
translateur = pipeline("translation_en_to_fr", model="Helsinki-NLP/opus-mt-en-fr")
|
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
# Chargement des pipelines/ les trois modeles
|
9 |
+
|
10 |
captioneur_blip = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
|
11 |
captioneur_git = pipeline("image-to-text", model="microsoft/git-base")
|
12 |
translateur = pipeline("translation_en_to_fr", model="Helsinki-NLP/opus-mt-en-fr")
|