Skip to content

Commit

Permalink
Reverted code changes for float input type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheharyar570 committed Oct 29, 2024
1 parent 48be145 commit 80279e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vectordb_bench/frontend/components/run_test/caseSelector.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ def caseConfigSetting(st, dbToCaseClusterConfigs, uiCaseItem: UICaseItem, active
elif config.inputType == InputType.Float:
caseConfig[config.label] = column.number_input(
config.displayLabel if config.displayLabel else config.label.value,
step=config.inputConfig.get("step", 0.1),
min_value=config.inputConfig["min"],
max_value=config.inputConfig["max"],
key=key,
value=config.inputConfig["value"],
help=config.inputHelp,
)
Expand Down

0 comments on commit 80279e3

Please sign in to comment.