Giter VIP home page Giter VIP logo

Comments (6)

GolanLevy avatar GolanLevy commented on June 19, 2024

Hi @mathrb,

In order to use S3, provide URL parameters as follows:
http://localhost:8080/?save_mode=server&audio=http://localhost:8080/s3_files/[path_to_audio_file_without_bucket_name]&json=http://localhost:8080/s3_files/[path_to_transcript_file_without_bucket_name]

save_mode: on save, directs Gecko to override the file in S3 (assuming one was loaded through S3) instead of downloading it locally. Observe that it will save another file with a timestamp, to maintain some kind of primitive history mechanism.

audio/json: on load, download the files from S3 as audio/transcript files.

Sorry about the fact that we do not have proper documentations to that yet.
We would appreciate if you could add some into the README file.

Thanks,
Golan

from gecko.

mathrb avatar mathrb commented on June 19, 2024

Hello,

Thanks for your response.
I have now file read/write with S3 Storage. I'll create a PR regarding the S3 integration.
About the cognito mode, any idea why it's not working?
Also, in the video and screenshots, we can add multiple annotation files when using the client mode. Is it supported in server mode with S3 storage?

Kind regards

from gecko.

GolanLevy avatar GolanLevy commented on June 19, 2024

Hi,

Thanks for the PR.
I'm happy it is working for you now and I see that you figured how to load multiple annotation files in the sever mode using ";" between the links.
Can you explain what do you mean by cognito mode and what does not work?

from gecko.

mathrb avatar mathrb commented on June 19, 2024

Sorry for the late response.
I saw in the code and environment variables: AWS_COGNITO_POOL
I was thinking that maybe it is something related to user management, where multiple users could connect to the gecko interface with credentials. Am I correct?
If I am, i'm experiencing issues doing it. Any idea?

from gecko.

GolanLevy avatar GolanLevy commented on June 19, 2024

I'm less familiar with that concept.
@strelok2012 can you help out here?
If there are still problems I will try to check it out myself in the near future.

from gecko.

strelok2012 avatar strelok2012 commented on June 19, 2024

Hi, @mathrb!

Sorry for long answer

GECKO_SERVER_PORT=4000 GECKO_SERVER_CONTAINER_PORT=4000 AWS_BUCKET=gecko-annotation AWS_REGION=eu-west-3 AWS_ACCESS_KEY_ID=<<<access_key_id>>> AWS_SECRET_ACCESS_KEY=<<<secret_key>>> #AWS_COGNITO_POOL=<<<pool_id>>> AWS_FOLDER=audio GECKO_APP_HOST=localhost

Do you use exact this config? AWS_COGNITO_POOL is commented, and server doesn't see that param.

If you use uncommented config, can you please add a console.log before this line and check, will be shown or not? Thanks

from gecko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.