β Support for huggingface api π
adriens opened this issue Β· comments
Feature request
Is it possible to use the huggingface API instead of openai (to overcome token expirations)
Why?
Openai free plan is over π’
Alternatives
No response
Additional context
No response
https://huggingface.co/docs/huggingface.js/index
const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the universe is'});
seems easy enough, i could implement it.