Spaces:
Runtime error
Runtime error
DATA_PATH = './data/' | |
OUTPUT_PATH = './output' | |
INDEX_FILENAME = f'{OUTPUT_PATH}/index.json' | |
URLS = [ | |
'https://dmi.gov.in/Documents/GrantCAGrapes.pdf', | |
'https://dmi.gov.in/Documents/organicfaq.pdf', | |
'https://dmi.gov.in/Documents/CAGMOrganic-III.pdf', | |
'https://dmi.gov.in/GradesStandard.aspx', | |
'https://www.india.gov.in/topics/agriculture', | |
'https://www.india.gov.in/farmers-portal', | |
# Pest Management related | |
'https://niphm.gov.in/IPMPackages/Maize.pdf', | |
# Mandi Price related | |
'https://agmarknet.gov.in/', | |
'https://enam.gov.in/web/dashboard/trade-data', | |
# General information related: Information of interests are present on the 2nd level url | |
'https://agricoop.nic.in/#gsc.tab=0', | |
'https://www.manage.gov.in/nf/nf.asp', | |
# Weather forecast related | |
'https://nwp.imd.gov.in/blf/blf_temp/', # need to select state -> district (on the new page) -> displays detailed table -> can get info at the block level as well from the same page on selection | |
'https://nwp.imd.gov.in/blf/blf_temp/dis.php?value=12gujarat', # to get weather forecast for the given state | |
'https://nwp.imd.gov.in/blf/blf_temp/block.php?dis=12BHAVNAGAR', # to get the weather forecast for the given district | |
] | |
# Supported Indian laguages for translating the English text to Indian language | |
INDIC_LANGUAGE = { | |
'Hindi': 'hi', | |
'Gujarati': 'gu', | |
'Kannada': 'kn', | |
'Marathi': 'mr', | |
'Panjabi': 'pa', | |
'Bengali': "bn", | |
'Telugu': 'te', | |
'Tamil': 'ta', | |
'Malayalam': 'ml', | |
} | |