My journey into web development and AI is still at the beginner stage. I'm learning, experimenting, making mistakes, and trying to build things that actually work.
One experience that taught me a lot happened during the Hacktoberfest Open-Source AI Challenge. The task was to build a project using an open-weight AI model. I decided to create a Ghost Story Generator using Python and Streamlit.
The idea was simple: users could enter a topic, choose a story length, and generate a ghost story with AI. But getting the project working was not as simple as I expected.
The first problem: my laptop
I wanted to run an AI model locally, but my laptop had limited storage. Installing a large model and all the required tools was not a practical option.
I considered using Ollama, but I couldn't install it because there wasn't enough space on my laptop. This was frustrating because I wanted to build the project, but my hardware was becoming a limitation.
Instead of giving up, I started looking for a way to use an AI model through a hosted service.
Trying hosted AI services
I decided to use Hugging Face Inference API with the Qwen2.5-3B-Instruct model. This meant I could send requests to a hosted model instead of downloading it and running it on my own laptop.
However, I faced more problems.
When I tried accessing Hugging Face, I encountered a 403 suspicious-network error. I had to wait and try again later. After that, I also encountered a 429 rate-limit error.
I also explored another option through a Backboard promotional credit offer, but the promo code didn't work after signing in with Google.
At this point, I had several obstacles: limited laptop storage, access errors, rate limits, and a promotional offer that didn't work.
Finding a way forward
I kept the project focused on what I could realistically build.
I used Python and Streamlit to create the interface. The user could enter a topic and select the desired story length. The application would then use the hosted Qwen model through the Hugging Face Inference API to generate a story.
One important thing I learned was that using an AI model doesn't always mean installing it on your computer. Hosted inference can make experimentation possible even when your hardware cannot run the model locally.
I also learned that choosing a model is only one part of building an AI application. You have to think about API access, authentication, rate limits, errors, and how your application handles requests.
What I learned
This project helped me understand that building something is not always about having the best laptop or knowing everything before starting.
Sometimes the biggest part of learning is finding another approach when the first one doesn't work.
I also realized that AI-assisted development doesn't remove the need to understand what is happening. I still need to understand my Python code, how the API request works, and what happens when a service returns an error.
I'm continuing my web development and Python learning journey. I want to build more useful projects, improve my coding skills, and eventually create applications that people can actually use.
My Ghost Story Generator was a small project, but the experience taught me something valuable: a limitation doesn't always mean you have to stop building. Sometimes it means you need a different approach.
I'd love to hear from other beginners: Have you ever had a project idea but your laptop, tools, or an API service got in the way? How did you solve it?