KAPtechies commited on
Commit
7705244
·
verified ·
1 Parent(s): 9a7bb82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -5
app.py CHANGED
@@ -45,19 +45,28 @@ 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
 
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;
49
  }
50
+
51
  .gradio-container {
52
+ display: flex;
53
+ justify-content: center;
54
+ align-items: center;
55
+ height: 100vh;
56
+ }
57
+
58
+ .weather-box {
59
+ background: rgba(255, 255, 255, 0.8); /* Semi-transparent white box */
60
  padding: 20px;
61
  border-radius: 10px;
62
+ width: 80%;
63
+ max-width: 600px;
64
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
65
  text-align: center;
66
  }
67
 
68
 
69
+
70
  """
71
 
72
  # Gradio Interface