Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,6 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 73 |
# --- Loading State Components ---
|
| 74 |
with gr.Row():
|
| 75 |
run_btn = gr.Button("Generate Verilog", variant="primary", elem_id="generate-button")
|
| 76 |
-
# Replaced gr.Textbox with gr.Markdown for better styling control
|
| 77 |
loading_state = gr.Markdown(
|
| 78 |
value="Generating...",
|
| 79 |
visible=False,
|
|
@@ -169,13 +168,15 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 169 |
|
| 170 |
/* Styling for the loading state markdown block */
|
| 171 |
#loading-state {
|
| 172 |
-
padding: 14px;
|
| 173 |
text-align: center;
|
| 174 |
font-size: 1.2em;
|
| 175 |
-
font
|
| 176 |
-
|
|
|
|
|
|
|
| 177 |
background-color: #e6f2ff;
|
| 178 |
-
border-radius: 8px;
|
| 179 |
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 180 |
animation: pulse 1s infinite;
|
| 181 |
}
|
|
|
|
| 73 |
# --- Loading State Components ---
|
| 74 |
with gr.Row():
|
| 75 |
run_btn = gr.Button("Generate Verilog", variant="primary", elem_id="generate-button")
|
|
|
|
| 76 |
loading_state = gr.Markdown(
|
| 77 |
value="Generating...",
|
| 78 |
visible=False,
|
|
|
|
| 168 |
|
| 169 |
/* Styling for the loading state markdown block */
|
| 170 |
#loading-state {
|
| 171 |
+
padding: 14px;
|
| 172 |
text-align: center;
|
| 173 |
font-size: 1.2em;
|
| 174 |
+
/* Made font bolder */
|
| 175 |
+
font-weight: 800;
|
| 176 |
+
/* Changed color to match the blue in the soft theme */
|
| 177 |
+
color: #1E3A8A;
|
| 178 |
background-color: #e6f2ff;
|
| 179 |
+
border-radius: 8px;
|
| 180 |
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 181 |
animation: pulse 1s infinite;
|
| 182 |
}
|