Gradio readme changes
This commit is contained in:
parent
1bab3f4b61
commit
ef9d223cd6
2 changed files with 15 additions and 5 deletions
|
|
@ -28,6 +28,7 @@ The AQI Analysis Agent is a powerful air quality monitoring and health recommend
|
||||||
- Medical condition considerations
|
- Medical condition considerations
|
||||||
- Activity-specific recommendations
|
- Activity-specific recommendations
|
||||||
- Downloadable reports
|
- Downloadable reports
|
||||||
|
- Example queries for quick testing
|
||||||
|
|
||||||
## How to Run
|
## How to Run
|
||||||
|
|
||||||
|
|
@ -48,17 +49,23 @@ Follow these steps to set up and run the application:
|
||||||
- Get an OpenAI API key from: https://platform.openai.com/api-keys
|
- Get an OpenAI API key from: https://platform.openai.com/api-keys
|
||||||
- Get a Firecrawl API key from: [Firecrawl website](https://www.firecrawl.dev/app/api-keys)
|
- Get a Firecrawl API key from: [Firecrawl website](https://www.firecrawl.dev/app/api-keys)
|
||||||
|
|
||||||
4. **Run the Streamlit app**:
|
4. **Run the Gradio app**:
|
||||||
```bash
|
```bash
|
||||||
streamlit run ai_aqi_analysis_agent.py
|
python ai_aqi_analysis_agent.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5. **Access the Web Interface**:
|
||||||
|
- The terminal will display two URLs:
|
||||||
|
- Local URL: `http://127.0.0.1:7860` (for local access)
|
||||||
|
- Public URL: `https://xxx-xxx-xxx.gradio.live` (for temporary public access)
|
||||||
|
- Click on either URL to open the web interface in your browser
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
1. Enter your API keys in the sidebar
|
1. Enter your API keys in the API Configuration section
|
||||||
2. Input location details:
|
2. Input location details:
|
||||||
- City name
|
- City name
|
||||||
- State (optional)
|
- State (optional for Union Territories/US cities)
|
||||||
- Country
|
- Country
|
||||||
3. Provide personal information:
|
3. Provide personal information:
|
||||||
- Medical conditions (optional)
|
- Medical conditions (optional)
|
||||||
|
|
@ -67,7 +74,7 @@ Follow these steps to set up and run the application:
|
||||||
- Current air quality data
|
- Current air quality data
|
||||||
- Health impact analysis
|
- Health impact analysis
|
||||||
- Activity safety recommendations
|
- Activity safety recommendations
|
||||||
- Downloadable report
|
5. Try the example queries for quick testing
|
||||||
|
|
||||||
## Note
|
## Note
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
agno
|
agno
|
||||||
openai
|
openai
|
||||||
firecrawl-py==1.9.0
|
firecrawl-py==1.9.0
|
||||||
|
gradio==5.9.1
|
||||||
|
pydantic
|
||||||
|
dataclasses
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue