Spaces:
Runtime error
Runtime error
ydshieh commited on
Commit ·
0514a3d
1
Parent(s): 9711ed9
fix desc
Browse files4 unmodified lines56789101112131415164 unmodified lines# Designing the interfacest.title("French Image Caption App")# For newlinest.write('\n')st.markdown("""An image caption model by combining the ViT model and a French GPT2 model. [Part of the [Huggingface JAX/Flax event](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/).]\nThe pretained weights of both models are loaded, with a set of randomly initialized cross-attention weigths.The model is trained on 65000 images from the COCO dataset for about 1500 steps, with the original english cpationis are translated to french for training purpose."""4 unmodified lines567891011121314154 unmodified lines# Designing the interfacest.title("French Image Caption App")st.markdown("""An image caption model [ViT-GPT2](https://huggingface.co/flax-community/vit-gpt2/tree/main) by combining the ViT model and a French GPT2 model.[Part of the [Huggingface JAX/Flax event](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/).]\nThe pretained weights of both models are loaded, with a set of randomly initialized cross-attention weigths.The model is trained on 65000 images from the COCO dataset for about 1500 steps, with the original english cpationis are translated to french for training purpose."""
app.py+2-3