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

Speechtotext #5

Merged
merged 6 commits into from
Dec 26, 2024
Merged

Speechtotext #5

merged 6 commits into from
Dec 26, 2024

Conversation

Shuyib
Copy link
Owner

@Shuyib Shuyib commented Dec 26, 2024

This pull request includes several updates to the Makefile, README.md, and app.py files to enhance functionality, improve logging, and update usage instructions. The most important changes include adding a new Gradio command, updating environment variable instructions, and improving logging and error handling in app.py.

Makefile updates:

  • Added a new command run_gradio_stt to run Gradio with the voice_stt_mode.py script.
  • Updated the format command to include all Python files in the root directory.

README.md updates:

  • Added instructions for setting the GROQ_API_KEY environment variable. [1] [2]
  • Updated usage instructions to include support for both Text and Voice input tabs in the app.

app.py updates:

  • Improved logging configuration with a rotating file handler and masked sensitive information in logs. [1] [2] [3]
  • Added error handling for the Ollama client and Gradio interface. [1] [2] [3]
  • Organized the code with sections and added functions for masking phone numbers and API keys.

@Shuyib Shuyib merged commit 9217885 into main Dec 26, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant