Conversation
|
Calling |
|
Could you also handle this one: #349 in this PR and disable voice chat on emulator in llm examples? |
|
I think that in llm examples it will be better to use simple stack navigation with back arrow to the main screen instead of drawer navigation. |
|
I don't understand what should present the |
|
Maybe it is worth adding |
|
Deactivate |
|
In |
| "icon": "./assets/icons/icon.png", | ||
| "userInterfaceStyle": "light", | ||
| "newArchEnabled": true, | ||
| "scheme": "your-app-scheme", |
There was a problem hiding this comment.
I think it would be better to set scheme to "rne-computer-vision"
Do the same for other apps
| "react": "19.0.0", | ||
| "react-native": "0.79.2", | ||
| "react-native-executorch": "workspace:*", | ||
| "react-native-executorch": "0.4.2", |
There was a problem hiding this comment.
| "react-native-executorch": "0.4.2", | |
| "react-native-executorch": "workspace:*", |
| "orientation": "portrait", | ||
| "icon": "./assets/icons/icon.png", | ||
| "userInterfaceStyle": "light", | ||
| "scheme": "your-app-scheme", |
There was a problem hiding this comment.
Same as in computer vision rne-llm
| }); | ||
| const speechToText = useSpeechToText({ | ||
| modelName: 'moonshine', | ||
| modelName: 'whisper', |
There was a problem hiding this comment.
why this change? I think w should stay with moonshine as default
| <action android:name="android.intent.action.VIEW"/> | ||
| <category android:name="android.intent.category.DEFAULT"/> | ||
| <category android:name="android.intent.category.BROWSABLE"/> | ||
| <data android:scheme="your-app-scheme"/> |
There was a problem hiding this comment.
You need to run npx expo prebuild for a changes from app.json to be applied, but when doing that don't forget to open ios project in xcode and add increased memory capability
| return context; | ||
| } | ||
|
|
||
| import { ReactNode } from 'react'; |
There was a problem hiding this comment.
Move the import to the top of this file
|
I've tested it and works fine. Please apply changes requested i my two comments, fix the conflicts and you can merge. |
75ff9ff to
fec4dc1
Compare
|
Speech to text example still contains in |
#401) …hen they go out of focus by introducing wrapers. ## Description ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> --------- Co-authored-by: mlodyjesienin <filipzielinski377@gmail.com>
|
Are you able to run successfully for some url |
Same problem at my side, tested it with audio that worked some time ago. However it's not in scope of this PR so I will be thankful if you can add a separate issue. |
|
Done: #409 |
| import { BottomBar } from '../../components/BottomBar'; | ||
| import React, { useContext, useEffect, useState } from 'react'; | ||
| import { GeneratingContext } from '../../context'; | ||
| import ScreenWrapper from '../../screenWrapper'; |
There was a problem hiding this comment.
I think the name of the screenWrapper file should start from large letter as it's a component
| import { useIsFocused } from '@react-navigation/native'; | ||
| import { GeneratingContext } from '../../context'; | ||
|
|
||
| export default function LLMScreenWrapper() { |
There was a problem hiding this comment.
Maybe let's move this wrapper to separate file like in computer-vision example
There was a problem hiding this comment.
It's not used anywhere, remove it
|
A really good job on this one 👏🏻 |
## Description Migrated example apps (llm, computervision) to expo router navigation. Added drawer navigation and menu for better UX. Fixed small issues regarding keyboard padding. ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) ### Tested on - [x] iOS - [x] Android ### Related issues Issue #224 ### Checklist - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas, (not necessary) - [ ] I have updated the documentation accordingly, (not necessary) - [ ] My changes generate no new warnings --------- Co-authored-by: pweglik <36445788+pweglik@users.noreply.github.com>






Description
Migrated example apps (llm, computervision) to expo router navigation.
Added drawer navigation and menu for better UX.
Fixed small issues regarding keyboard padding.
Type of change
Tested on
Related issues
Issue #224
Checklist