Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ if uploaded_file is not None:
|
|
| 79 |
st.text(f"Paragraphe {i}: {summary}") # Affiche le résumé du paragraphe
|
| 80 |
i = i + 1
|
| 81 |
image_bytes = query({
|
| 82 |
-
"inputs": summary
|
| 83 |
})
|
| 84 |
image = Image.open(io.BytesIO(image_bytes))
|
| 85 |
st.image(image)
|
|
|
|
| 79 |
st.text(f"Paragraphe {i}: {summary}") # Affiche le résumé du paragraphe
|
| 80 |
i = i + 1
|
| 81 |
image_bytes = query({
|
| 82 |
+
"inputs": summary # Utilisez le texte du résumé
|
| 83 |
})
|
| 84 |
image = Image.open(io.BytesIO(image_bytes))
|
| 85 |
st.image(image)
|