Update app.py
Browse files
app.py
CHANGED
@@ -215,6 +215,33 @@ with gr.Blocks(title="Smart Environmental Impact Analyzer") as app:
|
|
215 |
3. What are the environmental trade-offs between paper packaging and plastic packaging for food products? When is each option more sustainable?
|
216 |
4. How does fast fashion impact water resources? What sustainable alternatives exist?
|
217 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
api_key = gr.Textbox(label="OpenRouter API Key", placeholder="Enter your OpenRouter API key", type="password")
|
220 |
|
|
|
215 |
3. What are the environmental trade-offs between paper packaging and plastic packaging for food products? When is each option more sustainable?
|
216 |
4. How does fast fashion impact water resources? What sustainable alternatives exist?
|
217 |
""")
|
218 |
+
|
219 |
+
with gr.Accordion("About the project!", open=False):
|
220 |
+
gr.Markdown("""
|
221 |
+
### Image Analysis:
|
222 |
+
Users can upload an image to analyze environmental impacts, such as:
|
223 |
+
- Pollution
|
224 |
+
- Ecosystems
|
225 |
+
- Human infrastructure
|
226 |
+
|
227 |
+
### Geographical Assessment:
|
228 |
+
This section allows users to input a location and receive an analysis of:
|
229 |
+
- Environmental conditions
|
230 |
+
- Challenges
|
231 |
+
- Sustainability efforts
|
232 |
+
|
233 |
+
### Product Assessment:
|
234 |
+
Users can input product details to analyze the environmental impact throughout the product’s lifecycle, including:
|
235 |
+
- Materials used
|
236 |
+
- Manufacturing process
|
237 |
+
- Disposal
|
238 |
+
|
239 |
+
### Custom Query:
|
240 |
+
This section allows users to input any custom environmental query to receive a detailed analysis, covering:
|
241 |
+
- Carbon footprint
|
242 |
+
- Waste and pollution
|
243 |
+
- Sustainability practices
|
244 |
+
""")
|
245 |
|
246 |
api_key = gr.Textbox(label="OpenRouter API Key", placeholder="Enter your OpenRouter API key", type="password")
|
247 |
|