feat: generate images
This commit is contained in:
@@ -33,6 +33,12 @@ interface MessageProps {
|
||||
ref?: any;
|
||||
}
|
||||
|
||||
const initialValues = {
|
||||
voice: 'Alloy',
|
||||
response_format: 'mp3',
|
||||
speed: 1
|
||||
};
|
||||
|
||||
const GroundLeft: React.FC<MessageProps> = forwardRef((props, ref) => {
|
||||
const { modelList } = props;
|
||||
const messageId = useRef<number>(0);
|
||||
@@ -57,12 +63,6 @@ const GroundLeft: React.FC<MessageProps> = forwardRef((props, ref) => {
|
||||
const { initialize, updateScrollerPosition } = useOverlayScroller();
|
||||
const { initialize: innitializeParams } = useOverlayScroller();
|
||||
|
||||
const initialValues = {
|
||||
voice: 'Alloy',
|
||||
response_format: 'mp3',
|
||||
speed: 1
|
||||
};
|
||||
|
||||
useImperativeHandle(ref, () => {
|
||||
return {
|
||||
viewCode() {
|
||||
|
||||
Reference in New Issue
Block a user