Spaces:
Sleeping
Sleeping
judebebo32
commited on
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# Markdown content
|
4 |
+
md_content = """
|
5 |
+
# Ethics Checklist for Forest Wildfire Prediction Model
|
6 |
+
|
7 |
+
## 1. Data Collection
|
8 |
+
- Input Variables: Temperature, Humidity, Wind Speed, Rainfall, Fuel Moisture, Vegetation Type, Slope, Region
|
9 |
+
- Output Variables: Fire Size, Fire Duration, Suppression Cost, Fire Occurrence
|
10 |
+
...
|
11 |
+
"""
|
12 |
+
|
13 |
+
def display_markdown():
|
14 |
+
return md_content
|
15 |
+
|
16 |
+
# Create a Gradio interface
|
17 |
+
iface = gr.Interface(fn=display_markdown, inputs=[], outputs="markdown")
|
18 |
+
iface.launch()
|