BhumikaMak commited on
Commit
7b76c30
·
verified ·
1 Parent(s): 1cd1f16

update background display

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -61,7 +61,13 @@ def view_model(selected_models):
61
 
62
  # CSS to style the Gradio components and HTML content
63
  custom_css = """
64
-
 
 
 
 
 
 
65
  .custom-row {
66
  display: flex;
67
  justify-content: center;
 
61
 
62
  # CSS to style the Gradio components and HTML content
63
  custom_css = """
64
+ body {
65
+ background-image: url('https://api.deepai.org/job-view-file/a63aebee-08cf-4914-9439-8c791a9c7cf5/outputs/output.jpg'); /* Replace with your image URL */
66
+ background-position: center;
67
+ background-size: cover; /* Ensures the image covers the full screen */
68
+ background-attachment: fixed; /* Keeps the background image fixed while scrolling */
69
+ height: 100vh; /* Ensures full screen height */
70
+ }
71
  .custom-row {
72
  display: flex;
73
  justify-content: center;