Skip to content

🎥 Make videos programmatically with React

Split model cache description

JonnyBurger21ef4d5883c1
diff --git a/packages/studio/src/components/ModelManager.tsx b/packages/studio/src/components/ModelManager.tsx
index 08e4beae74..93576ed88f 100644
--- a/packages/studio/src/components/ModelManager.tsx
+++ b/packages/studio/src/components/ModelManager.tsx
@@ -38,6 +38,7 @@ const descriptionStyle: React.CSSProperties = {
fontSize: 13,
lineHeight: 1.5,
margin: 0,
+ whiteSpace: 'pre-line',
};
const list: React.CSSProperties = {marginTop: 14};
const modelRow: React.CSSProperties = {
diff --git a/packages/studio/src/components/Transcription/TranscriptionModal.tsx b/packages/studio/src/components/Transcription/TranscriptionModal.tsx
index 8b2c048fdd..a3d81492af 100644
--- a/packages/studio/src/components/Transcription/TranscriptionModal.tsx
+++ b/packages/studio/src/components/Transcription/TranscriptionModal.tsx
@@ -967,7 +967,9 @@ export const TranscriptionModal: React.FC<TranscriptionModalState> = ({
/>
</div>
<Models
- description="Models are downloaded automatically when needed. You can also manage the browser cache here."
+ description={
+ 'Models are downloaded automatically when needed.\nYou can also manage the browser cache here.'
+ }
indent
visible={tab === 'models'}
/>
diff --git a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
index 6e6dd0125b..d08b97c212 100644
--- a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
+++ b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
@@ -396,7 +396,9 @@ export const VideoMattingModal: React.FC<VideoMattingModalState> = ({
</div>
</div>
<Models
- description="Models are downloaded automatically when needed. You can also manage the browser cache here."
+ description={
+ 'Models are downloaded automatically when needed.\nYou can also manage the browser cache here.'
+ }
indent
visible={tab === 'models'}
/>