Spaces:
Runtime error
Runtime error
Update Visualisation/app.py
Browse files- Visualisation/app.py +2 -2
Visualisation/app.py
CHANGED
|
@@ -78,7 +78,7 @@ async def visualize(
|
|
| 78 |
plt.close()
|
| 79 |
|
| 80 |
# Generate image caption
|
| 81 |
-
|
| 82 |
-
|
| 83 |
|
| 84 |
return StreamingResponse(img_stream, media_type="image/png")
|
|
|
|
| 78 |
plt.close()
|
| 79 |
|
| 80 |
# Generate image caption
|
| 81 |
+
image_description = image_captioner(img_stream)
|
| 82 |
+
print("🖼️ Description du graphique:", image_description)
|
| 83 |
|
| 84 |
return StreamingResponse(img_stream, media_type="image/png")
|