Update app.py
Browse filesremoving layered boxes
app.py
CHANGED
|
@@ -71,9 +71,12 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 71 |
)
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
-
#
|
| 75 |
-
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
out_code = gr.Textbox(
|
| 79 |
label="Generated Verilog",
|
|
@@ -152,39 +155,21 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 152 |
letter-spacing: 1px;
|
| 153 |
}
|
| 154 |
|
| 155 |
-
/*
|
| 156 |
-
#deepv-logo {
|
| 157 |
-
background-color: transparent !important; /* Remove white background */
|
| 158 |
-
border: none !important; /* Remove border */
|
| 159 |
-
box-shadow: none !important; /* Remove shadow */
|
| 160 |
-
padding: 0 !important; /* Remove any padding */
|
| 161 |
-
margin: 0 !important; /* Remove any margin */
|
| 162 |
-
overflow: hidden !important; /* Hide anything that overflows */
|
| 163 |
-
}
|
| 164 |
-
|
| 165 |
-
/* Hide the expand, download, and share buttons */
|
| 166 |
-
#deepv-logo .gallery-item.min,
|
| 167 |
-
#deepv-logo .btn.tool,
|
| 168 |
-
#deepv-logo .wrap-inner.border-none {
|
| 169 |
-
display: none !important;
|
| 170 |
-
}
|
| 171 |
-
|
| 172 |
-
/* Ensure the image itself fills the component without extra space */
|
| 173 |
-
#deepv-logo img {
|
| 174 |
-
width: 100% !important;
|
| 175 |
-
height: 100% !important;
|
| 176 |
-
object-fit: contain !important;
|
| 177 |
-
}
|
| 178 |
-
|
| 179 |
-
/* Simplified logo row styling */
|
| 180 |
-
#logo-row {
|
| 181 |
display: flex;
|
| 182 |
-
align-items: center;
|
| 183 |
justify-content: center;
|
| 184 |
-
|
| 185 |
-
|
|
|
|
| 186 |
}
|
| 187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
#verilog-output {
|
| 189 |
position: relative;
|
| 190 |
}
|
|
|
|
| 71 |
)
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
+
# The logo is now an HTML component for maximum style control
|
| 75 |
+
gr.HTML("""
|
| 76 |
+
<div id="deepv-logo-container">
|
| 77 |
+
<img src="file=DeepV_logo.png" alt="DeepV Logo" id="deepv-logo">
|
| 78 |
+
</div>
|
| 79 |
+
""")
|
| 80 |
|
| 81 |
out_code = gr.Textbox(
|
| 82 |
label="Generated Verilog",
|
|
|
|
| 155 |
letter-spacing: 1px;
|
| 156 |
}
|
| 157 |
|
| 158 |
+
/* Container for a clean, simple logo display */
|
| 159 |
+
#deepv-logo-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
display: flex;
|
|
|
|
| 161 |
justify-content: center;
|
| 162 |
+
align-items: center;
|
| 163 |
+
padding: 0;
|
| 164 |
+
margin-bottom: 20px;
|
| 165 |
}
|
| 166 |
|
| 167 |
+
#deepv-logo {
|
| 168 |
+
width: 300px;
|
| 169 |
+
height: 85px;
|
| 170 |
+
object-fit: contain;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
#verilog-output {
|
| 174 |
position: relative;
|
| 175 |
}
|