Agri_Model / README.md
Aaayushiii's picture
Update README.md
4cdeaae verified

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
title: Agri Model
emoji: 💬
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false

A simple Gradio app that gives crop recommendations and live weather.

How to use

  • Ask: "Weather in Delhi", "Best crop in Agra during Kharif", or "What should I sow in Maharashtra this Rabi?"

Secrets / Variables

Add this in Settings → Variables and secrets:

  • OPENWEATHER_API_KEY (optional; app falls back to Open-Meteo if unset)
  • GRADIO_SHARE=true (optional; useful when running locally without localhost access)

Hardware

The model is ~1.2 GB; GPU is recommended in Settings → Hardware (T4 or better).