from image import * | |
import streamlit as st | |
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'): | |
st.write('response is :', image(url, text)) | |
st.write('Part 2') | |
os.system("language.py") |