Open ynamite opened 4 months ago
This happens regardless of whether I'm in a private or a normal browser window
I've also tried downgrading xenova from 2.17.2 to 2.4.2, the same version your repo uses.
While there's no error message with this older version, the worker just never stops running at all and never reaches the complete
status 🤷
I've cloned your repo and tried it in a private tab, same problem. Translation never completes, it just runs and runs.
I am too getting the same error on the console. Did you come up with a solution for this ?
I tried many methods but couldnt come up with a solution. If you have already rectified this error, could you kindly post the solution ?
Nope, I eventually gave up and went onto another tutorial
so adding the following lines as you commented in another issue didn't resolve it? I presume it also failed in all other browser windows (both normal and incognito)?
import { pipeline, env } from '@xenova/transformers';
env.allowLocalModels = false;
env.useBrowserCache = false;
@jamezmca no, the solution in the other issue gets rid of the Unexpected token
error, but the translation still never resolves/completes.
I didn't spend too much time on it to be honest.
@ynamite ahh that's a pain - it seems to be a super random bug. Cheers for your other solution and I'll have a closer look at this as soon as I get a chance!
@jamezmca ah no worries, thanks for the awesome tutorial, learnt a ton from it.
Yeah , Kindly share the solution as soon as it is solved because I m doing this as my college's minor project. Haha
Did anyone found out the issue. If so kindly share it
Hey there, Thanks for the lovely ML tutorial. Unfortunately I'm stuck with the following console error after attempting to translate a transcribed result (after choosing a language and clicking translate):
If I log out the last progress update before the error, I get the following, which looks good to me:
I do get a
done
but never acomplete
status from the worker.