Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Upload New Data #84

Open
Chijintao opened this issue Sep 10, 2021 · 1 comment
Open

How to Upload New Data #84

Chijintao opened this issue Sep 10, 2021 · 1 comment

Comments

@Chijintao
Copy link

Hello, I don't know how to upload new data points. Your project is running on a cloud server and wants to upload new data points. What should I do? Do I directly execute the test script you gave? If I want to upload new data points in batches? Newcomers kneel for answers

@drctoday
Copy link

hi,
As stated in the tutorial, you can do it in two ways:
1- Post APIs
2- Using the CLI provided. Navigate to your server shell, cd to the upload_data.py and run it. The folder contains a sample audio file to be tested as well.

You can run it throug:

API_KEY=YOUR_PROJECT_KEY python3 upload_data.py --username test --is_marked_for_review True --audio_file OSR_us_000_0010_8k.wav --host localhost --port 80

Hint: you can replace python3 with python - depends on your installed package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants