import { useState } from 'react'; import { ChatTab } from './tabs/chat-tab'; import { ExtractTab } from './tabs/extract-tab'; import { ImageTab } from './tabs/image-tab'; import { SpeechTab } from './tabs/speech-tab'; import { TranscribeTab } from './tabs/transcribe-tab'; import { VideoTab } from './tabs/video-tab'; import type { ModalityTab } from './types'; const TABS: Array<{ id: ModalityTab; label: string }> = [ { id: 'chat', label: 'Chat' }, { id: 'extract', label: 'Extract' }, { id: 'image', label: 'Image' }, { id: 'speech', label: 'Speech' }, { id: 'transcribe', label: 'Transcribe' }, { id: 'video', label: 'Video' }, ]; export function App() { const [tab, setTab] = useState('chat'); return (

{'{{APP_NAME}}'}

Kazzle AI playground

{tab === 'chat' ? : null} {tab === 'extract' ? : null} {tab === 'image' ? : null} {tab === 'speech' ? : null} {tab === 'transcribe' ? : null} {tab === 'video' ? : null}
); }