Spaces:
Sleeping
Sleeping
ping98k
commited on
Commit
·
87cbfc7
1
Parent(s):
cbe88a5
Fix input order and update run function
Browse files
main.py
CHANGED
|
@@ -23,14 +23,14 @@ def _clean_json(txt):
|
|
| 23 |
return ast.literal_eval(txt)
|
| 24 |
|
| 25 |
def run_tournament(
|
|
|
|
|
|
|
| 26 |
instruction_input,
|
| 27 |
criteria_input,
|
| 28 |
n_gen,
|
| 29 |
-
num_top_picks,
|
| 30 |
pool_size,
|
|
|
|
| 31 |
max_workers,
|
| 32 |
-
api_base,
|
| 33 |
-
api_token,
|
| 34 |
enable_score_filter,
|
| 35 |
enable_pairwise_filter,
|
| 36 |
):
|
|
|
|
| 23 |
return ast.literal_eval(txt)
|
| 24 |
|
| 25 |
def run_tournament(
|
| 26 |
+
api_base,
|
| 27 |
+
api_token,
|
| 28 |
instruction_input,
|
| 29 |
criteria_input,
|
| 30 |
n_gen,
|
|
|
|
| 31 |
pool_size,
|
| 32 |
+
num_top_picks,
|
| 33 |
max_workers,
|
|
|
|
|
|
|
| 34 |
enable_score_filter,
|
| 35 |
enable_pairwise_filter,
|
| 36 |
):
|