Spaces:
Running
Running
Update modules/studentact/student_activities_v2.py
Browse files
modules/studentact/student_activities_v2.py
CHANGED
|
@@ -491,7 +491,7 @@ def display_discourse_activities(username: str, t: dict):
|
|
| 491 |
logger.debug("Decodificando gráfico combinado")
|
| 492 |
try:
|
| 493 |
image_bytes = base64.b64decode(analysis['combined_graph'])
|
| 494 |
-
st.image(image_bytes,
|
| 495 |
logger.debug("Gráfico mostrado exitosamente")
|
| 496 |
except Exception as img_error:
|
| 497 |
logger.error(f"Error decodificando imagen: {str(img_error)}")
|
|
|
|
| 491 |
logger.debug("Decodificando gráfico combinado")
|
| 492 |
try:
|
| 493 |
image_bytes = base64.b64decode(analysis['combined_graph'])
|
| 494 |
+
st.image(image_bytes, use_container_width=True))
|
| 495 |
logger.debug("Gráfico mostrado exitosamente")
|
| 496 |
except Exception as img_error:
|
| 497 |
logger.error(f"Error decodificando imagen: {str(img_error)}")
|