1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import dash_mantine_components as dmc from dash import Dash from w1_client import get_city_w w = get_city_w("Bangalore") app = Dash() app.layout = dmc.MantineProvider( w["current"]["temp_c"] ) if __name__ == "__main__": app.run(debug=True)