Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
07379e5
IssueId #217903 feat: Implementing New Mechanics with Image Game
ajinkyapandetekdi May 2, 2024
9fae96a
took latest pull
ajinkyapandetekdi Jun 13, 2024
56e956a
change audio path
ajinkyapandetekdi Jun 14, 2024
09626ef
#000 changed variable for login check
ajinkyapandetekdi Jul 12, 2024
3203e98
Merge pull request #109 from Sunbird-ALL/all-1.2
gouravmore Jul 12, 2024
edb9722
merge with all-1.2
ajinkyapandetekdi Jul 12, 2024
5056120
Task #223066 feat: Added wasm configuation and tested
sudeeppr1998 Jul 15, 2024
9e76ae1
Check added for Module init
sudeeppr1998 Jul 15, 2024
f08f353
IssueId #223070 feat: Implementation & integration with current code
ajinkyapandetekdi Jul 15, 2024
5b4b63e
Update all-dev-rig.yml
gouravmore Jul 16, 2024
44f9551
Merge pull request #112 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 16, 2024
06e80cf
Merge pull request #111 from sudeeppr1998/all-2.0-offline
gouravmore Jul 16, 2024
07c77ff
IssueId #223074 feat: UI related changes for offline mode english add…
ajinkyapandetekdi Jul 16, 2024
273f0b8
IssueId #223074 feat: UI related changes for offline mode english add…
ajinkyapandetekdi Jul 16, 2024
02491b1
Merge pull request #113 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 16, 2024
92f5133
IssueId #223067 feat: Load model and store it to indexdb for caching
ajinkyapandetekdi Jul 17, 2024
83e60c0
IssueId #223067 feat: Load model and store it to indexdb for caching
ajinkyapandetekdi Jul 17, 2024
cb3b839
IssueId #223067 feat: Load model and store it to indexdb for caching
ajinkyapandetekdi Jul 17, 2024
ba63a0a
Merge pull request #114 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 17, 2024
d578376
Issueid #223075 feat: Apply Loader till model is download and stored …
ajinkyapandetekdi Jul 17, 2024
d9a60e0
Task #223068 Get Audio data from microphone and send it whisper cpp f…
sudeeppr1998 Jul 18, 2024
9c420c7
#0000 udpated varible yml file
ajinkyapandetekdi Jul 18, 2024
a4fa95e
Task #223068 error handling added
sudeeppr1998 Jul 18, 2024
b8c60ce
Task #223068 added error handling for audio processing
sudeeppr1998 Jul 18, 2024
0c99dcc
Task #223068 added rnnoise model in const js and error handling added…
sudeeppr1998 Jul 18, 2024
4f744df
Merge pull request #116 from sudeeppr1998/all-2.0-offline
gouravmore Jul 18, 2024
41d73ab
#0000 udpated varible yml file
ajinkyapandetekdi Jul 19, 2024
3a4d0de
Issueid #223075 feat: Apply Loader till model is download and stored …
ajinkyapandetekdi Jul 19, 2024
d19176b
Task #223069 & #223071 Fuzzball js integration done and added new fie…
sudeeppr1998 Jul 19, 2024
171a39d
Merge pull request #117 from sudeeppr1998/all-2.0-offline
gouravmore Jul 19, 2024
ae6439b
#000 update folder name
ajinkyapandetekdi Jul 19, 2024
ff24031
Merge pull request #115 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 19, 2024
f127938
IssueId #223082 Create Log Out Button in Test-Rig [React]
ajinkyapandetekdi Jul 23, 2024
3c35a51
Merge pull request #120 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 23, 2024
8966f36
IssueId #223075 Apply Loader till model is download and stored into DB
ajinkyapandetekdi Jul 23, 2024
c1859e7
IssueId #223075 Apply Loader till model is download and stored into DB
ajinkyapandetekdi Jul 23, 2024
90ebc97
Merge pull request #121 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 23, 2024
2addba6
#000 yml file is updated
ajinkyapandetekdi Jul 24, 2024
ef6cd3e
#000 yml file is updated
ajinkyapandetekdi Jul 24, 2024
baee65c
#000 yml file is updated
ajinkyapandetekdi Jul 24, 2024
f6b531d
#000 yml file is updated
ajinkyapandetekdi Jul 24, 2024
81e7ba0
Merge pull request #122 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 24, 2024
021f0bd
#000 optmised the offline-2.0 code
ajinkyapandetekdi Jul 24, 2024
bc987f3
#000 fixed whisper load isssue
ajinkyapandetekdi Jul 26, 2024
4923e4e
Merge pull request #123 from ajinkyapandetekdi/all-2.0-offline
gouravmore Jul 26, 2024
2182502
took latest pull
ajinkyapandetekdi Jul 29, 2024
f5edd0a
upadte code
ajinkyapandetekdi Jul 29, 2024
6064514
IssueId #224185 Add Profanity for Offline Model ALL [React]
ajinkyapandetekdi Jul 30, 2024
5ae94ca
IssueId #224185 Add Profanity for Offline Model ALL [React]
ajinkyapandetekdi Jul 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/all-app-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
REACT_APP_POST_LEARNER_PROGRESS: ${{ vars.REACT_APP_POST_LEARNER_PROGRESS }}
REACT_APP_IS_APP_IFRAME: ${{ vars.REACT_APP_IS_APP_IFRAME }}
REACT_APP_IS_IN_APP_AUTHORISATION: ${{ vars.REACT_APP_IS_IN_APP_AUTHORISATION }}
REACT_APP_IS_APP_LANGUAGES: ${{ vars.REACT_APP_IS_APP_LANGUAGES }}
REACT_APP_LANGUAGES: ${{ vars.REACT_APP_LANGUAGES }}
REACT_APP_ASR_OFFLINE_LANGUAGUAGES: ${{ vars.REACT_APP_ASR_OFFLINE_LANGUAGUAGES }}
REACT_APP_AWS_ACCESS_KEY_ID: ${{ secrets.REACT_APP_AWS_ACCESS_KEY_ID }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.REACT_APP_AWS_SECRET_ACCESS_KEY }}
CI: false # Disabling CI to not treat warnings as errors
run: npm run build

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/all-dev-rig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ALL rig dev Deployment
on:
push:
branches:
- all-1.2
- all-2.0-offline

jobs:
deploy:
Expand Down Expand Up @@ -74,7 +74,10 @@ jobs:
REACT_APP_POST_LEARNER_PROGRESS: ${{ vars.REACT_APP_POST_LEARNER_PROGRESS }}
REACT_APP_IS_APP_IFRAME: ${{ vars.REACT_APP_IS_APP_IFRAME }}
REACT_APP_IS_IN_APP_AUTHORISATION: ${{ vars.REACT_APP_IS_IN_APP_AUTHORISATION }}
REACT_APP_IS_APP_LANGUAGES: ${{ vars.REACT_APP_IS_APP_LANGUAGES }}
REACT_APP_LANGUAGES: ${{ vars.REACT_APP_LANGUAGES }}
REACT_APP_ASR_OFFLINE_LANGUAGUAGES: ${{ vars.REACT_APP_ASR_OFFLINE_LANGUAGUAGES }}
REACT_APP_AWS_ACCESS_KEY_ID: ${{ secrets.REACT_APP_AWS_ACCESS_KEY_ID }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.REACT_APP_AWS_SECRET_ACCESS_KEY }}
CI: false # Disabling CI to not treat warnings as errors
run: npm run build

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/all-prod-rig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
REACT_APP_POST_LEARNER_PROGRESS: ${{ vars.REACT_APP_POST_LEARNER_PROGRESS }}
REACT_APP_IS_APP_IFRAME: ${{ vars.REACT_APP_IS_APP_IFRAME }}
REACT_APP_IS_IN_APP_AUTHORISATION: ${{ vars.REACT_APP_IS_IN_APP_AUTHORISATION }}
REACT_APP_IS_APP_LANGUAGES: ${{ vars.REACT_APP_IS_APP_LANGUAGES }}
REACT_APP_LANGUAGES: ${{ vars.REACT_APP_LANGUAGES }}
REACT_APP_ASR_OFFLINE_LANGUAGUAGES: ${{ vars.REACT_APP_ASR_OFFLINE_LANGUAGUAGES }}
REACT_APP_AWS_ACCESS_KEY_ID: ${{ secrets.REACT_APP_AWS_ACCESS_KEY_ID }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.REACT_APP_AWS_SECRET_ACCESS_KEY }}
CI: false # Disabling CI to not treat warnings as errors
run: npm run build

Expand Down
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@aws-sdk/client-s3": "^3.388.0",
"@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0",
"@ffmpeg/ffmpeg": "^0.9.8",
"@fingerprintjs/fingerprintjs": "^4.2.2",
"@mui/icons-material": "^5.2.5",
"@mui/material": "^5.2.2",
Expand All @@ -21,7 +22,13 @@
"canvas-confetti": "^1.9.2",
"character-error-rate": "^1.1.4",
"classnames": "^2.3.1",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.1",
"faker": "^5.5.3",
"ffmpeg": "^0.0.4",
"fuzzball": "^2.1.2",
"homophones": "^1.0.1",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
Expand All @@ -43,10 +50,7 @@
"sass": "^1.44.0",
"split-graphemes": "^0.5.0",
"use-sound": "^4.0.1",
"web-vitals": "^2.1.4",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.1"
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
Expand Down Expand Up @@ -87,16 +91,16 @@
]
},
"devDependencies": {
"@mui/styles": "^5.15.10",
"eslint": "^7.32.0",
"prettier": "^2.3.2",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^9.0.11",
"lint-staged": "^11.0.0",
"react": "^18.2.0",
"@mui/styles": "^5.15.10"
"prettier": "^2.3.2",
"react": "^18.2.0"
},
"lint-staged": {
"lint-staged": {
"src/**/*.{js,jsx}": [
"npx eslint --fix",
"npx prettier --write"
Expand Down
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
rel="stylesheet"
/>
<link href="https://fonts.cdnfonts.com/css/bad-comic" rel="stylesheet" />
<script type="text/javascript" src="./whisper.wasm/stream.js" defer></script>
<script type="text/javascript" src="./whisper.wasm/initWhisper.js" defer></script>
<script src="./js/jquery-3.7.0.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/confetti.browser.min.js"></script>
<title>EkStep</title>
Expand Down
22 changes: 22 additions & 0 deletions public/models/cb.rnnn

Large diffs are not rendered by default.

Binary file not shown.
12 changes: 12 additions & 0 deletions public/whisper.wasm/initWhisper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const loadWhisperModule = async () => {
try {
if (typeof Module === 'undefined') {
throw new Error('Module is not defined');
}
window.whisperModule = Module;
} catch (error) {
console.error('Failed to load WASM module', error);
}
};

loadWhisperModule();
1 change: 1 addition & 0 deletions public/whisper.wasm/libstream.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/whisper.wasm/libstream.worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/whisper.wasm/stream.js

Large diffs are not rendered by default.

Binary file added src/assets/images/boy-running.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading