OpenNewsLabs / autoEdit_2

Fast text based video editing, node Electron Os X desktop app, with Backbone front end.
https://opennewslabs.github.io/autoEdit_2/
MIT License
421 stars 56 forks source link

Watson STT Patch #50

Closed seanmtracey closed 6 years ago

seanmtracey commented 6 years ago

Temporary fix to enable users of newer Watson STT credentials to continue using autoEdit until such a time that the copy / setup steps can be updated.

Suffice it to say:

Instead of using a username/password combination use:

apikey as the username <YOUR_API_KEY_FROM_YOUR_RECENT_STT_INSTACE> instead of password.

You will also need to include the url value from the credentials object (where you get your API key from) along with the above.

Addresses #49

pietrop commented 6 years ago

Thanks for this @seanmtracey !

I noticed you need some changes in file like

Unfortunately those are the pages for the online dummydemo the main app lives inside lib/app and electron where you got app.js is bundled and the main index.html for electron is as well.

And then npm run make_demo is used to create the folder from the client side part of the app (backbone). And npm run make_page is used to create the project for github pages, inside docs folder at root of repo.

Anyway going to try and see if I can port those changes inside the corresponding files in lib/app etc.. but I'll let you know if I get stuck.

pietrop commented 6 years ago

sorry, my bad, just realised that those files in docsand project_page might have been generated when you did npm start ...

Anyway I run it with the credentials and seemed to work, altho I didn't put apikey in username, just the regular username.

altho I had an issue, but I think it's unrelated, and think was happening before as well, so logged it here https://github.com/OpenNewsLabs/autoEdit_2/issues/51

@seanmtracey could you clarify what is the IBM change in credentials and location, how can one tell if they are supposed to put username + password credentials of instance + url based on region OR apikey + <YOUR_API_KEY_FROM_YOUR_RECENT_STT_INSTACE> instead of password + url ?

I am still unsure how that, and I'd like to update the user manual accordingly.

Thanks!