yannESGI commited on
Commit
abaaf38
·
1 Parent(s): f00bb38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, # Utilisez le texte du résumé
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)