This repository contains a Streamlit app where the user can select a region and provide description request. The app also uses the OpenStreetMap data and the OpenAI API for geodescribing the region.
To use the app, follow these steps:
-
Clone the repository:
[email protected]:Vizzuality/GeoDescriberAI.git
-
Change into the repository directory:
cd GeoDescriberAI
-
Create a virtual environment:
python -m venv env
-
Activate the virtual environment:
source env/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.env
file with your OpenAI API key:OPENAI_API_KEY=your_openai_api_key
To run the app, use the following command:
streamlit run app.py
This will launch the app in your default web browser.
- Click the black square on the map
- Draw a rectangle on the map
- Provide your description request in the textbox below
- Click on
Describe
- Wait for the computation to finish
If you find a bug or want to suggest a feature, please create a new issue on the GitHub repository. Pull requests are also welcome.