yannESGI commited on
Commit
abb0a7e
·
1 Parent(s): 18cadbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ if uploaded_file is not None:
75
  st.text(f"Paragraphe {i}: {summary[0]['summary_text']}") # Affiche le résumé du paragraphe
76
 
77
  image_bytes = query({
78
- "inputs": 'A picture about :' + summary[0]['summary_text'] # Utilisez le texte du résumé
79
  })
80
  image = Image.open(io.BytesIO(image_bytes))
81
  st.image(image)
 
75
  st.text(f"Paragraphe {i}: {summary[0]['summary_text']}") # Affiche le résumé du paragraphe
76
 
77
  image_bytes = query({
78
+ "inputs": 'A picture without text about :' + summary[0]['summary_text'] # Utilisez le texte du résumé
79
  })
80
  image = Image.open(io.BytesIO(image_bytes))
81
  st.image(image)