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 = () => {
258
258
< UseCaseSelector form = { form } /> }
259
259
260
260
{ (
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' ) &&
263
263
< Form . Item
264
264
name = 'doc_paths'
265
265
label = 'Input File'
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ const Examples: FunctionComponent = () => {
149
149
</ Space >
150
150
</ StyledTitle >
151
151
< Flex align = 'center' gap = { 15 } >
152
- { workflowType === WorkflowType . FREE_FORM_DATA_GENERATION &&
152
+ { ( workflowType === WorkflowType . FREE_FORM_DATA_GENERATION || workflowType === WorkflowType . CUSTOM_DATA_GENERATION ) &&
153
153
< >
154
154
< Form . Item
155
155
name = "example_path"
You can’t perform that action at this time.
0 commit comments