Update app.py
Browse files
app.py
CHANGED
|
@@ -72,9 +72,9 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
# --- DeepV Logo and "Output" text ---
|
| 75 |
-
with gr.Row(elem_id="logo-
|
|
|
|
| 76 |
gr.Image("DeepV_logo.png", width=250, height=70, show_label=False, elem_id="deepv-logo")
|
| 77 |
-
gr.Markdown("**Output**", elem_id="output-title")
|
| 78 |
|
| 79 |
out_code = gr.Textbox(
|
| 80 |
label="Generated Verilog",
|
|
@@ -153,33 +153,26 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 153 |
letter-spacing: 1px;
|
| 154 |
}
|
| 155 |
|
| 156 |
-
/*
|
| 157 |
-
#logo-
|
| 158 |
display: flex;
|
| 159 |
align-items: center;
|
| 160 |
justify-content: center;
|
| 161 |
margin-bottom: 10px;
|
| 162 |
height: 80px;
|
| 163 |
}
|
| 164 |
-
|
| 165 |
#deepv-logo {
|
| 166 |
padding: 0;
|
| 167 |
margin: 0;
|
| 168 |
border: none;
|
| 169 |
box-shadow: none;
|
| 170 |
}
|
| 171 |
-
|
| 172 |
-
#output-title {
|
| 173 |
-
margin: 0;
|
| 174 |
-
font-size: 1.2em;
|
| 175 |
-
font-weight: bold;
|
| 176 |
-
margin-left: 20px;
|
| 177 |
-
}
|
| 178 |
|
| 179 |
#verilog-output {
|
| 180 |
position: relative;
|
| 181 |
}
|
| 182 |
-
|
| 183 |
#copy-button {
|
| 184 |
position: absolute;
|
| 185 |
top: 40px;
|
|
|
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
# --- DeepV Logo and "Output" text ---
|
| 75 |
+
with gr.Row(elem_id="logo-row"): # Changed ID for clarity
|
| 76 |
+
# Display the logo directly using gr.Image
|
| 77 |
gr.Image("DeepV_logo.png", width=250, height=70, show_label=False, elem_id="deepv-logo")
|
|
|
|
| 78 |
|
| 79 |
out_code = gr.Textbox(
|
| 80 |
label="Generated Verilog",
|
|
|
|
| 153 |
letter-spacing: 1px;
|
| 154 |
}
|
| 155 |
|
| 156 |
+
/* Simplified logo row styling */
|
| 157 |
+
#logo-row {
|
| 158 |
display: flex;
|
| 159 |
align-items: center;
|
| 160 |
justify-content: center;
|
| 161 |
margin-bottom: 10px;
|
| 162 |
height: 80px;
|
| 163 |
}
|
| 164 |
+
|
| 165 |
#deepv-logo {
|
| 166 |
padding: 0;
|
| 167 |
margin: 0;
|
| 168 |
border: none;
|
| 169 |
box-shadow: none;
|
| 170 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
#verilog-output {
|
| 173 |
position: relative;
|
| 174 |
}
|
| 175 |
+
|
| 176 |
#copy-button {
|
| 177 |
position: absolute;
|
| 178 |
top: 40px;
|