Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of -4
0 answers
56 views

Context: I'm deploying a Flask app with a PyTorch model (~300MB, an Attention U-Net for image segmentation) as a Docker container on Hugging Face Spaces. Locally everything works fine, but after ...
Score of 0
2 answers
90 views

I trained a CNN on MNIST for digit recognition that gets ~98% accuracy during local testing (Jupyter/Colab). After deploying it behind a Flask API (React frontend sends canvas-drawn digit images), ...
Score of -2
0 answers
28 views

I am building a small Flask web application where a user submits a form to generate content. The page loads correctly, but whenever I click the submit button, Flask returns a 405 Method Not Allowed ...
Score of -5
0 answers
114 views

I'm using Python with pywin32 (COM Automation) to update an existing Excel workbook. Environment: Python 3.12 pywin32 Windows 11 Microsoft 365 Excel The destination workbook is approximately 300–400 ...
Score of 2
0 answers
132 views

I made a little multiplication table game with a multiplayer mode. For the future I have started to decouple the logic and the output, so I can easily (easier) add new math tasks like addition, ...
Score of 0
1 answer
74 views

I'm trying to rate limit an API request on my website. However, when I used flask Limiter, it just ignored it. from flask_limiter import Limiter from flask_limiter.util import get_remote_address This ...
Score of 0
1 answer
108 views

I have a problem with Flasks app.config.from_envvar() function. Everytime I set a variable like this set MOVIEDB_SETTINGS='C:\tmp\settings.py' Flask get the error: OSError: [Errno 22] Unable to load ...
Score of 3
1 answer
92 views

I want to catch the RequestEntityTooLarge inside my view, but instead my custom error handler is called. My "movie.py" has a route to create a new movie entry. from flask import ( ...
Best practices
1 vote
3 replies
101 views

I've done some jobs with the FastAPI or Flask on the backend, but in both situations there was no type of layering of the responsabilities. Like everything was done into the controller layer right ...
Best practices
0 votes
0 replies
60 views

I'm building a custom Shopify application with a Flask backend. Currently I store business data in Shopify Metaobjects because it integrates nicely with themes and Admin UI. As the application grows, ...
Score of -3
0 answers
82 views

I've defined all functions of my code, which require the execution of SQLite3 SQL statements in a file, main2.py . I have imported all functions and objects into my app.py file which will create a ...
Score of -1
0 answers
83 views

I'm trying to use Flask as a backend for my Langchain project, with Gradio. The POST request is to be sent when the user clicks the 'submit' button on the UI. However, this is leading to an internal ...
Score of 0
1 answer
138 views

I get the error "400 (BAD REQUEST)" in the browser (dev tools) console when trying to send HTML form data with JS frontend to MySQL database through a flask back end. HTML form: <form id=&...
Score of -3
1 answer
101 views

I am trying to upload an MS Excel file from JS front end to a Python Flask back end with fetch-api. but I get the following error message below. I am not too familiar with other means of using AJAX or ...
Advice
0 votes
1 replies
53 views

I'm building a Flutter app for rice leaf disease detection using CNN as my thesis project. I'm confused about the best architecture: Option 1: Deploy CNN model as REST API (Python Flask/FastAPI), ...

15 30 50 per page
1
2 3 4 5
3667