File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/client/src/pages/DataGenerator Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -258,8 +258,8 @@ const Configure: FunctionComponent = () => {
258258 < UseCaseSelector form = { form } /> }
259259
260260 { (
261- formData ?. workflow_type === WorkflowType . SUPERVISED_FINE_TUNING ||
262- formData ?. workflow_type === WorkflowType . CUSTOM_DATA_GENERATION ) &&
261+ formData ?. workflow_type === WorkflowType . FREE_FORM_DATA_GENERATION ||
262+ formData ?. use_case === 'custom' ) &&
263263 < Form . Item
264264 name = 'doc_paths'
265265 label = 'Input File'
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ const Examples: FunctionComponent = () => {
149149 </ Space >
150150 </ StyledTitle >
151151 < Flex align = 'center' gap = { 15 } >
152- { workflowType === WorkflowType . FREE_FORM_DATA_GENERATION &&
152+ { ( workflowType === WorkflowType . FREE_FORM_DATA_GENERATION || workflowType === WorkflowType . CUSTOM_DATA_GENERATION ) &&
153153 < >
154154 < Form . Item
155155 name = "example_path"
You can’t perform that action at this time.
0 commit comments