jadehardouin commited on
Commit
45ee289
1 Parent(s): 37bd313

Update How_to_contribute.md

Browse files
Files changed (1) hide show
  1. How_to_contribute.md +3 -3
How_to_contribute.md CHANGED
@@ -104,9 +104,9 @@ Additionally, if any conversion is required on the input or output cost/token, y
104
 
105
  ```python
106
  def compute_cost_per_token(self, input_cost_per_token, output_cost_per_token, labor):
107
- #Additional computation on your cost_per_token values
108
- #You often need to convert some values here
109
- return input_cost_per_token, output_cost_per_token, labor
110
  ```
111
 
112
  Once your model class is ready, you’ll have to **add it to the `models.py` file** in our TCO Calculator’s [Hugging Face repository](https://huggingface.co/spaces/mithril-security/TCO_calculator/tree/main).
 
104
 
105
  ```python
106
  def compute_cost_per_token(self, input_cost_per_token, output_cost_per_token, labor):
107
+ #Additional computation on your cost_per_token values
108
+ #You often need to convert some values here
109
+ return input_cost_per_token, output_cost_per_token, labor
110
  ```
111
 
112
  Once your model class is ready, you’ll have to **add it to the `models.py` file** in our TCO Calculator’s [Hugging Face repository](https://huggingface.co/spaces/mithril-security/TCO_calculator/tree/main).