Chalo Kisaan is an agrotourism service predictor that helps farmers generate potential business models based on their land size, budget, and other factors. It provides interactive visualizations to preview how the proposed service could be implemented on their farm, along with a detailed description, business model, budget, and setup process.
-
Service Prediction: The app predicts potential agrotourism services that can be created based on the farmer's land size, budget, and other relevant factors.
-
Interactive Visualizations: Farmers can choose a service and generate interactive visuals to preview how the service would be implemented on their farm.
-
Service Description: Farmers can choose a service name and tailor the agrotourism service according to their preferences. Google's Gemini Pro LLM provides a brief description of the business model, budget estimations and other essential details for the selected service.
This project is now structured for deployment on Vercel:
api/index.py
: Serverless function entry pointapp.py
: Main Flask applicationvercel.json
: Configuration for Vercel deploymentrequirements.txt
: Dependencies
-
Make sure you have the Vercel CLI installed:
npm install -g vercel
-
Login to Vercel:
vercel login
-
Deploy the project:
vercel
-
For production deployment:
vercel --prod
Make sure to set the required environment variables in your Vercel project settings:
GEMINI_API_KEY
: Your Google Gemini API key
To run the application locally:
python app.py
If you encounter deployment issues:
- Make sure your dependencies are correctly listed in
requirements.txt
- Check that all required environment variables are set in Vercel
- Review the Vercel logs for specific error messages
Once the app is running, you can access it through your web browser by navigating to http://127.0.0.1:5000/
(or localhost:5000
). Follow the on-screen instructions to provide the necessary information, such as land size and budget, to receive predictions and visualizations for potential agrotourism services.