Skip to content

Add Support for Hugging Face Inference API #18

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stephanieewelu
Copy link
Member

This issue proposes replacing the existing Google Gemini API integration in the QuizGenerator class with the Hugging Face Inference API, which offers a free tier for non-commercial use. This change makes the tool more accessible to users without requiring a paid API key, while maintaining the core functionality of generating multiple-choice quiz questions.

This issue proposes replacing the existing Google Gemini API integration in the QuizGenerator class with the Hugging Face Inference API, which offers a free tier for non-commercial use. This change makes the tool more accessible to users without requiring a paid API key, while maintaining the core functionality of generating multiple-choice quiz questions.
Copy link
Member

@MasterOfLogic1 MasterOfLogic1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this tested ?

@Stephanieewelu
Copy link
Member Author

@MasterOfLogic1 yes, you only need to nter an api key in the code and it works smoothly.

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.

2 participants