K00B404 commited on
Commit
c6c047c
1 Parent(s): 9de8f9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py CHANGED
@@ -78,9 +78,33 @@ css = """
78
  margin-left: auto;
79
  margin-right: auto;
80
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  """
82
 
83
  with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
 
 
 
 
 
 
 
 
84
  gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
85
  with gr.Column(elem_id="app-container"):
86
  with gr.Row():
 
78
  margin-left: auto;
79
  margin-right: auto;
80
  }
81
+ #title-container {
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ }
86
+
87
+ #title-icon {
88
+ width: 32px; /* Adjust the width of the icon as needed */
89
+ height: auto;
90
+ margin-right: 10px; /* Space between icon and title */
91
+ }
92
+
93
+ #title-text {
94
+ font-size: 24px; /* Adjust font size as needed */
95
+ font-weight: bold;
96
+ }
97
  """
98
 
99
  with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
100
+ gr.HTML("""
101
+ <center>
102
+ <div id="title-container">
103
+ <img id="title-icon" src="icon.jpg" alt="Icon">
104
+ <h1 id="title-text">FLUX.1-Dev</h1>
105
+ </div>
106
+ </center>
107
+ """)
108
  gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
109
  with gr.Column(elem_id="app-container"):
110
  with gr.Row():