fix: order of mixes parameters
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ def model_total_params_fn(model_name: str, n_param: float):
|
|
| 148 |
|
| 149 |
def mix_fn(country_code: str, mix_adpe: float, mix_pe: float, mix_gwp: float):
|
| 150 |
if country_code == CUSTOM:
|
| 151 |
-
return
|
| 152 |
return find_mix(country_code)
|
| 153 |
|
| 154 |
with gr.Blocks() as demo:
|
|
|
|
| 148 |
|
| 149 |
def mix_fn(country_code: str, mix_adpe: float, mix_pe: float, mix_gwp: float):
|
| 150 |
if country_code == CUSTOM:
|
| 151 |
+
return mix_adpe, mix_pe, mix_gwp
|
| 152 |
return find_mix(country_code)
|
| 153 |
|
| 154 |
with gr.Blocks() as demo:
|