jadehardouin
commited on
Commit
•
2dd2bac
1
Parent(s):
e00eaca
Update models.py
Browse files
models.py
CHANGED
@@ -270,11 +270,7 @@ class ModelPage:
|
|
270 |
model_tco = cost_per_input_token * current_input_tokens + cost_per_output_token * current_output_tokens
|
271 |
formula = model.get_formula()
|
272 |
latency = model.get_latency()
|
273 |
-
latency_info = f"""
|
274 |
-
<p> For the {current_model} service : </p>
|
275 |
-
{formula}
|
276 |
-
"""
|
277 |
|
278 |
-
return model_tco,
|
279 |
|
280 |
begin = begin+model_n_args
|
|
|
270 |
model_tco = cost_per_input_token * current_input_tokens + cost_per_output_token * current_output_tokens
|
271 |
formula = model.get_formula()
|
272 |
latency = model.get_latency()
|
|
|
|
|
|
|
|
|
273 |
|
274 |
+
return model_tco, formula, latency, labor_cost
|
275 |
|
276 |
begin = begin+model_n_args
|