KalyanM45/Medical-Assisstant — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple medical query web app in Python using Flask and Google Gemini. I want a clean page where someone can type a medical question, click a Generate Response button, and see a detailed answer written in plain language, like a careful medical assistant explaining symptoms, possible causes, general advice, and when to seek professional help.

Please set it up so the Google API key comes from an environment variable or a .env file, not hardcoded. Include the basic templates and styling so it looks presentable in a browser at localhost 5000. Make the response area easy to read, handle empty questions nicely, and show a friendly error if the AI call fails.

Keep the project simple and easy to run with a requirements file and clear setup steps. Use the current Gemini docs online if you need to, and make sure the app is useful but does not pretend to replace a real doctor.

Want more depth? Deep Reverse