AI Pulse by Inblix

PyCharm now lets you drop an AI chatbot into your app in 10 minutes — no browser required

Hugging Face Blog · Nov 5, 2024 · 2 min read · Read original article →

Curated by the Inblix editorial team


Featured image for article: PyCharm now lets you drop an AI chatbot into your app in 10 minutes — no browser required

JetBrains and Hugging Face just shipped an integration that feels almost mundane, and that’s exactly why it matters. Right-click inside PyCharm, select “Insert HF Model,” and you’re browsing models, grabbing sample code, and running state-of-the-art machine learning without ever touching a web browser. I walked through a real scenario — building an app that chats about images users paste in — and got Microsoft’s Phi-3.5-vision-instruct model working in under ten minutes. The model analyzed screenshots of a slide deck without complaint.

What sold me wasn’t the model selection dialog, though sorting by likes is a trap. Older models accumulate votes long after they’re obsolete. The smarter move is checking the last-updated date right under the model name, and the integration surfaces that cleanly. More useful is what happens after the code is written: hover over any model name in your editor and the full Hugging Face model card appears inline. For anyone who’s ever stared at a six-month-old codebase wondering what a model actually does, this solves the two-week amnesia problem instantly. Your cybersecurity reviewer gets the same transparency.

The local cache browser — accessed through a small 🤗 icon — is the kind of practical detail that makes this stick. You see every downloaded model, how much space it’s eating, and can clear things out with a click. Considering most production-ready models in 2024 are north of 1GB, that cache fills up faster than people expect. Hugging Face’s philosophy here is clear and correct: models are just functions that transform input to output. IDEs have pulled up function signatures for decades. Pulling up model cards and sample code is the logical next step. The real shift isn’t technical — it’s that importing a vision-language model now feels as routine as importing any other Python library.

💡 Key Takeaways

  1. The integration lets developers browse, select, and run Hugging Face models entirely within PyCharm, cutting the time to a working prototype to roughly ten minutes.
  2. Hovering over a model name in code instantly displays its full Hugging Face model card, solving code review confusion and the common problem of forgetting what a model does weeks after implementing it.
  3. A built-in local cache browser shows all downloaded models and their disk usage, which is critical when most useful 2024 models exceed 1GB and can silently fill up storage.

Keep reading: See related articles below for more coverage on this topic.

Get smarter about AI

The sharpest AI news, curated daily. Delivered free to your inbox.

Learn more

Glossary terms

← Back to all articles