Skip to content

janakanuwan/InterviewQA-Audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InterviewQA-Audio

Generate the audio (i.e., text-to-speech generator) for the InterviewQA Excel sheet (e.g., Questions_Answers.xlsx).

Requirements

  • Python Version: Python 3.8 or later
  • Libraries:
  • Create the required credential files inside credential folder (if you want to use OpenAI/GoogleCloud audio generation)
    • Create a file credential/openai_credential.json with OpenAI credentials such as {"openai_api_key": "KEY"}
    • Create a file credential/google_cloud_credentials.json with Google Cloud API credentials.
      • Follow authentication to get json key file and rename it to google_cloud_credentials.json

Application Execution

  • python main.py
  • The application will read the Questions_Answers.xlsx file and generate audio files for each question and answer.
  • The generated audio files will be saved in the output folder with the naming convention <SHEET_NAME>/<ID>_1q.mp3 (question), <SHEET_NAME>/<ID>_2a.mp3 (answer), etc.

References

About

Converts the question and answers in Excel to Audio format to practice. A simple text-to-speech is at https://nuwanjanaka.info/tools/text_to_speech

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages