You can! We artificially limited that in the gradio notebook component right now, but if you check out the core package it’s built on (aiconfig), it shows how to use OpenAI, Claude, and other model providers:
https://github.com/lastmile-ai/aiconfig
Here’s the currently supported list of models: https://aiconfig.lastmileai.dev/docs/overview/model-parsers
Let me know if we should enable non-HF models in the gradio notebook component by default as well — it should be a simple change