from image import * from language import * import streamlit as st import torch import os # url = "https://i.imgur.com/qs0CxjE_d.webp?maxwidth=760&fidelity=grand" # text = "What is the two color's car ?" st.write('Part 1') text = st.text_input('Posez votre question (en anglais)') url = st.text_input('mettez le liens de votre image') if st.button('générer'): responseBase = image(url, text) st.write('response is :', responseBase) st.write('Part 2') st.write(longText(responseBase)) print('#### TEST 2####')