fix: algorithm options do not display
This commit is contained in:
@@ -92,11 +92,9 @@ const SpeculativeDecode = () => {
|
|||||||
onChange={handleAlgorithemChange}
|
onChange={handleAlgorithemChange}
|
||||||
label={intl.formatMessage({ id: 'models.form.algorithm' })}
|
label={intl.formatMessage({ id: 'models.form.algorithm' })}
|
||||||
options={[
|
options={[
|
||||||
[
|
{ label: 'Eagle3', value: AlgorithmMap.Eagle3 },
|
||||||
{ label: 'Eagle3', value: AlgorithmMap.Eagle3 },
|
{ label: 'MTP', value: AlgorithmMap.MTP },
|
||||||
{ label: 'MTP', value: AlgorithmMap.MTP },
|
{ label: 'N-gram', value: AlgorithmMap.Ngram }
|
||||||
{ label: 'N-gram', value: AlgorithmMap.Ngram }
|
|
||||||
]
|
|
||||||
]}
|
]}
|
||||||
></SealSelect>
|
></SealSelect>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user