Danjari commited on
Commit
0de7f36
1 Parent(s): f4d29d7

Update app.py

Browse files

removed CO2 tracking bc too heavy

Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -17,12 +17,12 @@ from sklearn.model_selection import train_test_split, GridSearchCV
17
  from sklearn.tree import DecisionTreeClassifier,export_graphviz # Import Decision Tree Classifier
18
  import mlflow
19
  from sklearn import metrics
20
- from codecarbon import EmissionsTracker
21
  #%matplotlib inline
22
 
23
  # Initialize the emissions tracker
24
- tracker = EmissionsTracker()
25
- tracker.start()
26
  #st.set_page_config(layout='wide')
27
  st.set_option('deprecation.showPyplotGlobalUse', False)
28
  #####################################################################
@@ -978,9 +978,9 @@ if selected == "Conclusion":
978
  Additionally, we could also merge our current dataset with other datasets that may provide additional insights. By incorporating external datasets, we can enhance the quality and accuracy of our model predictions.
979
  """)
980
 
981
- # Stop the emissions tracker
982
- emissions = tracker.stop()
983
 
984
- st.write(f"Total CO2 emissions:{emissions:.4f}kg CO2")
985
 
986
 
 
17
  from sklearn.tree import DecisionTreeClassifier,export_graphviz # Import Decision Tree Classifier
18
  import mlflow
19
  from sklearn import metrics
20
+ #from codecarbon import EmissionsTracker
21
  #%matplotlib inline
22
 
23
  # Initialize the emissions tracker
24
+ # tracker = EmissionsTracker()
25
+ # tracker.start()
26
  #st.set_page_config(layout='wide')
27
  st.set_option('deprecation.showPyplotGlobalUse', False)
28
  #####################################################################
 
978
  Additionally, we could also merge our current dataset with other datasets that may provide additional insights. By incorporating external datasets, we can enhance the quality and accuracy of our model predictions.
979
  """)
980
 
981
+ # # Stop the emissions tracker
982
+ # emissions = tracker.stop()
983
 
984
+ # st.write(f"Total CO2 emissions:{emissions:.4f}kg CO2")
985
 
986