start to integrate whisper.
This commit is contained in:
@@ -32,6 +32,10 @@ export default function Home() {
|
||||
);
|
||||
}
|
||||
|
||||
function onGoBack() {
|
||||
setConversation(undefined);
|
||||
}
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Stack.Screen
|
||||
@@ -46,7 +50,7 @@ export default function Home() {
|
||||
/>
|
||||
<Text>Home Screen</Text>
|
||||
{conversation ? (
|
||||
<ConversationThread conversation={conversation} />
|
||||
<ConversationThread conversation={conversation} onGoBack={onGoBack} />
|
||||
) : (
|
||||
<LanguageSelection onLangSelected={onLangSelected} />
|
||||
)}
|
||||
|
Reference in New Issue
Block a user