neerajkalyank commited on
Commit
4bb6dc7
·
verified ·
1 Parent(s): 77b9d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -126,17 +126,17 @@ with gr.Blocks() as app:
126
  app.css = """
127
  body {
128
  font-family: Arial, sans-serif;
129
- background-color: #f5f5f5;
 
 
130
  }
131
 
132
  .gradio-container {
133
  max-width: 800px;
134
  margin: 0 auto;
135
  padding: 20px;
136
- background: url('background.png') no-repeat center center fixed;
137
- background-size: cover; /* Adjusts to cover the entire container */
138
  border-radius: 10px;
139
- color: #ffffff;
140
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
141
  }
142
 
 
126
  app.css = """
127
  body {
128
  font-family: Arial, sans-serif;
129
+ background: url('./background.png') no-repeat center center fixed;
130
+ background-size: cover;
131
+ color: #ffffff;
132
  }
133
 
134
  .gradio-container {
135
  max-width: 800px;
136
  margin: 0 auto;
137
  padding: 20px;
138
+ background: rgba(34, 34, 34, 0.9); /* Slight transparency to see the background */
 
139
  border-radius: 10px;
 
140
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
141
  }
142