Spaces:
Running
Running
jadehardouin
commited on
Commit
•
af9cdba
1
Parent(s):
ea19e17
Update models.py
Browse files
models.py
CHANGED
@@ -202,6 +202,6 @@ class ModelPage:
|
|
202 |
model_args = args[begin:begin+model_n_args]
|
203 |
model_tco = model.compute_cost_per_token(*model_args)
|
204 |
formula = model.get_formula()
|
205 |
-
return f"Model {current_model} has TCO {model_tco}", model_tco, formula
|
206 |
|
207 |
begin = begin+model_n_args
|
|
|
202 |
model_args = args[begin:begin+model_n_args]
|
203 |
model_tco = model.compute_cost_per_token(*model_args)
|
204 |
formula = model.get_formula()
|
205 |
+
return f"Model {current_model} has a TCO of: ${model_tco}", model_tco, formula
|
206 |
|
207 |
begin = begin+model_n_args
|