SHAMIL SHAHBAZ AWAN commited on
Commit
731e9db
·
verified ·
1 Parent(s): 5f4c0da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -3
app.py CHANGED
@@ -75,25 +75,35 @@ with gr.Blocks(theme="soft") as demo:
75
  0% { opacity: 0; }
76
  100% { opacity: 1; }
77
  }
78
-
79
  body {
80
- background: linear-gradient(120deg, #f9fafb, #dfe8f0);
 
81
  font-family: Arial, sans-serif;
82
  }
 
83
  .gr-textbox {
84
  border: 1px solid #e1e4e8;
85
  border-radius: 5px;
86
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
87
  transition: all 0.3s ease;
88
  }
 
89
  .gr-textbox:hover {
90
  transform: scale(1.02);
91
  border-color: #6fc3df;
92
  }
 
93
  .gr-slider {
94
  display: none; /* Hides sliders from the interface */
95
  }
 
 
 
 
 
 
96
  """
97
-
98
  if __name__ == "__main__":
99
  demo.launch()
 
75
  0% { opacity: 0; }
76
  100% { opacity: 1; }
77
  }
78
+
79
  body {
80
+ background: url('https://wallpapers.com/images/featured/unique-laptop-bnw8292wzppmnfmr.jpg') no-repeat center center fixed;
81
+ background-size: cover;
82
  font-family: Arial, sans-serif;
83
  }
84
+
85
  .gr-textbox {
86
  border: 1px solid #e1e4e8;
87
  border-radius: 5px;
88
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
89
  transition: all 0.3s ease;
90
  }
91
+
92
  .gr-textbox:hover {
93
  transform: scale(1.02);
94
  border-color: #6fc3df;
95
  }
96
+
97
  .gr-slider {
98
  display: none; /* Hides sliders from the interface */
99
  }
100
+
101
+ .gr-button {
102
+ background-color: #4a90e2;
103
+ color: white;
104
+ border-radius: 5px;
105
+ }
106
  """
107
+
108
  if __name__ == "__main__":
109
  demo.launch()