ElPierrito commited on
Commit
b80a39c
·
verified ·
1 Parent(s): 733f5b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -71,6 +71,9 @@ def generate_gantt():
71
  fig.update_yaxes(autorange="reversed")
72
  fig.update_layout(height=400, margin=dict(l=20, r=20, t=30, b=20))
73
  return pio.to_html(fig, full_html=True, include_plotlyjs='cdn')
 
 
 
74
  except Exception as e:
75
  return f"<b>Fehler:</b> {e}"
76
 
 
71
  fig.update_yaxes(autorange="reversed")
72
  fig.update_layout(height=400, margin=dict(l=20, r=20, t=30, b=20))
73
  return pio.to_html(fig, full_html=True, include_plotlyjs='cdn')
74
+ print("=== HTML Output Preview ===")
75
+ print(html[:500]) # Nur ein Teil
76
+ return html
77
  except Exception as e:
78
  return f"<b>Fehler:</b> {e}"
79