Skip to content

Commit b10c9b9

Browse files
authored
Merge pull request #17 from Raiduy/fix-example
Fix codecarbonwrapper import in hello-world
2 parents 56c22da + f11d5ac commit b10c9b9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

examples/hello-world/RunnerConfig.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@
1010
from pathlib import Path
1111
from os.path import dirname, realpath
1212

13-
from Plugins.Profilers import CodecarbonWrapper
14-
from Plugins.Profilers.CodecarbonWrapper import DataColumns as CCDataCols
15-
16-
@CodecarbonWrapper.emission_tracker(
17-
data_columns=[CCDataCols.EMISSIONS, CCDataCols.ENERGY_CONSUMED],
18-
country_iso_code="NLD" # your country code
19-
)
20-
2113

2214
class RunnerConfig:
2315
ROOT_DIR = Path(dirname(realpath(__file__)))

0 commit comments

Comments
 (0)