Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,16 @@
|
|
1 |
from air_quality_map import create_air_quality_map_ui
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
# Create and launch the Gradio interface
|
4 |
-
app = create_air_quality_map_ui()
|
5 |
|
6 |
-
# For Hugging Face Spaces deployment
|
7 |
-
app.launch()
|
|
|
1 |
from air_quality_map import create_air_quality_map_ui
|
2 |
+
# Temporary troubleshooting version of app.py
|
3 |
+
import troubleshooting
|
4 |
|
5 |
+
# Run diagnostics instead of launching the Gradio app
|
6 |
+
troubleshooting.run_tests()
|
7 |
+
|
8 |
+
# Comment out the normal app launch
|
9 |
+
# from air_quality_map import create_air_quality_map_ui
|
10 |
+
# app = create_air_quality_map_ui()
|
11 |
+
# app.launch()
|
12 |
# Create and launch the Gradio interface
|
13 |
+
#app = create_air_quality_map_ui()
|
14 |
|
15 |
+
# For Hugging Face Spaces deployment#
|
16 |
+
#app.launch()
|