Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,12 @@ body {
|
|
136 |
background-color: #004d40;
|
137 |
}
|
138 |
"""
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
140 |
# Create the Gradio interface with custom CSS
|
141 |
inputs = [
|
142 |
gr.Slider(minimum=1, maximum=5, step=1, label="On a scale of 1-5, with 5 being the most favorable and 1 being the least ideal. How would you rate your feelings of Comfort and Well-being?"),
|
@@ -158,6 +163,6 @@ gr.Interface(
|
|
158 |
inputs=inputs,
|
159 |
outputs=outputs,
|
160 |
title="MAZINGIRA 254: Climate-Smart Environmental Psychology Design Ideas",
|
161 |
-
description="Input your environmental concerns and ideas to receive creative design recommendations and a visual assessment of climate change impact. ",
|
162 |
css=custom_css # Apply custom CSS
|
163 |
).launch()
|
|
|
136 |
background-color: #004d40;
|
137 |
}
|
138 |
"""
|
139 |
+
# Disclaimer text to include in the description
|
140 |
+
disclaimer_text = """
|
141 |
+
**Disclaimer**:
|
142 |
+
1. This solution was built in only 5 hours with a limited dataset during the training of the CNN, so it may have some biases.
|
143 |
+
2. The solution is running on low compute resources, so we recommend using it when there is low traffic to improve performance.
|
144 |
+
"""
|
145 |
# Create the Gradio interface with custom CSS
|
146 |
inputs = [
|
147 |
gr.Slider(minimum=1, maximum=5, step=1, label="On a scale of 1-5, with 5 being the most favorable and 1 being the least ideal. How would you rate your feelings of Comfort and Well-being?"),
|
|
|
163 |
inputs=inputs,
|
164 |
outputs=outputs,
|
165 |
title="MAZINGIRA 254: Climate-Smart Environmental Psychology Design Ideas",
|
166 |
+
description="Input your environmental concerns and ideas in form of images and personal experiences to receive creative design recommendations and a visual assessment of climate change impact. ",
|
167 |
css=custom_css # Apply custom CSS
|
168 |
).launch()
|