davidanthony-ai commited on
Commit
dafa1c9
·
1 Parent(s): d268c47

test graphique

Browse files
components/fonctions_transcription.py CHANGED
@@ -127,7 +127,8 @@ def graphique_utilisation(data, username, annee_mois):
127
  a =df_user[(df_user["usernames"] == username) & (df_user["Year_Month"] == annee_mois)]
128
  a["Consommation_heures"] = a["durees_audio_sec"].cumsum()
129
  a["Consommation_heures"] = a["Consommation_heures"].values / 3600
130
- #print(a["Consommation_heures"])
 
131
  fig = px.line(a, x='dates_transcription', y='Consommation_heures')
132
 
133
  # Ajouter la limite de temps 20H = 72000 s
 
127
  a =df_user[(df_user["usernames"] == username) & (df_user["Year_Month"] == annee_mois)]
128
  a["Consommation_heures"] = a["durees_audio_sec"].cumsum()
129
  a["Consommation_heures"] = a["Consommation_heures"].values / 3600
130
+ print(a["Consommation_heures"])
131
+ print(a["dates_transcription"])
132
  fig = px.line(a, x='dates_transcription', y='Consommation_heures')
133
 
134
  # Ajouter la limite de temps 20H = 72000 s