Update app.py
Browse files
app.py
CHANGED
|
@@ -43,20 +43,21 @@ def get_weather(city):
|
|
| 43 |
# **Adding Background Image**
|
| 44 |
custom_css = """
|
| 45 |
body {
|
| 46 |
-
background: url('https://
|
| 47 |
background-size: cover;
|
| 48 |
color: black; /* Set text to black */
|
| 49 |
}
|
| 50 |
.gradio-container {
|
| 51 |
-
background: rgba(255, 255, 255, 0.6); /* Light overlay for
|
| 52 |
padding: 20px;
|
| 53 |
border-radius: 10px;
|
| 54 |
}
|
| 55 |
h1 {
|
| 56 |
-
color: black;
|
| 57 |
text-align: center;
|
| 58 |
}
|
| 59 |
|
|
|
|
| 60 |
"""
|
| 61 |
|
| 62 |
# Gradio Interface
|
|
|
|
| 43 |
# **Adding Background Image**
|
| 44 |
custom_css = """
|
| 45 |
body {
|
| 46 |
+
background: url('https://plus.unsplash.com/premium_photo-1661934660615-4918f28476f9?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D.jpg') no-repeat center center fixed;
|
| 47 |
background-size: cover;
|
| 48 |
color: black; /* Set text to black */
|
| 49 |
}
|
| 50 |
.gradio-container {
|
| 51 |
+
background: rgba(255, 255, 255, 0.6); /* Light overlay for readability */
|
| 52 |
padding: 20px;
|
| 53 |
border-radius: 10px;
|
| 54 |
}
|
| 55 |
h1 {
|
| 56 |
+
color: black;
|
| 57 |
text-align: center;
|
| 58 |
}
|
| 59 |
|
| 60 |
+
|
| 61 |
"""
|
| 62 |
|
| 63 |
# Gradio Interface
|