Comments (6)
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.
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.
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.
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.
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.
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)
- Bug: srt files with CRLF line endings don't load properly HOT 1
- Access Denied on Save with Private S3 Bucket HOT 2
- question about the segment dragging HOT 1
- Bug: Check regions error Overlapping in file: HOT 2
- Annotation formats HOT 3
- How I make words clickable , HOT 1
- Multiple Records Annotations HOT 3
- How clear editable-words filed HOT 1
- Running Gecko locally without internet connection (data privacy) HOT 1
- How to remove all region on submit click (can be any button) HOT 1
- Delete audio file segment HOT 1
- Duplication of modified transcription HOT 1
- Concatenation of consecutive words may not be saved HOT 1
- Feature Request - support .stm output format HOT 1
- Cors error when pass url in link HOT 3
- Loading JSON file with segment-level annotation
- Segment overlapping in the annotation tool
- Single click on word to select for deleting.
- Bug: Check regions error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gecko.