Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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)
|