mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 20:27:45 +00:00
fix: retry input and whisper (#785)
This commit is contained in:
@@ -78,7 +78,7 @@ export const useSpeech = (props?: { shareId?: string }) => {
|
||||
|
||||
const duration = Math.round((Date.now() - startTimestamp.current) / 1000);
|
||||
|
||||
formData.append('files', blob, 'recording.webm');
|
||||
formData.append('file', blob, 'recording.webm');
|
||||
formData.append('metadata', JSON.stringify({ duration, shareId }));
|
||||
|
||||
setIsTransCription(true);
|
||||
|
Reference in New Issue
Block a user