Update app.py
Browse files
app.py
CHANGED
|
@@ -71,9 +71,19 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 71 |
)
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
-
# --- DeepV Logo and "Output" text (
|
| 75 |
with gr.Row(elem_id="logo-and-output-row"):
|
| 76 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
gr.Markdown("**Output**", elem_id="output-title")
|
| 78 |
|
| 79 |
with gr.Group():
|
|
@@ -162,9 +172,6 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 162 |
}
|
| 163 |
|
| 164 |
#deepv-logo {
|
| 165 |
-
width: 50px; /* Set desired width */
|
| 166 |
-
height: 50px; /* Set desired height */
|
| 167 |
-
margin-right: 10px; /* Space between logo and text */
|
| 168 |
animation: fadeInScale 1.5s ease-out forwards; /* Apply animation */
|
| 169 |
}
|
| 170 |
|
|
|
|
| 71 |
)
|
| 72 |
|
| 73 |
with gr.Column(scale=3):
|
| 74 |
+
# --- DeepV Logo and "Output" text (Correctly configured gr.Image) ---
|
| 75 |
with gr.Row(elem_id="logo-and-output-row"):
|
| 76 |
+
gr.Image(
|
| 77 |
+
"DeepV_logo.png",
|
| 78 |
+
height=50,
|
| 79 |
+
width=50,
|
| 80 |
+
show_label=False,
|
| 81 |
+
show_download_button=False,
|
| 82 |
+
show_share_button=False,
|
| 83 |
+
container=False, # This removes the white box
|
| 84 |
+
interactive=False, # This prevents the expand/zoom feature
|
| 85 |
+
elem_id="deepv-logo"
|
| 86 |
+
)
|
| 87 |
gr.Markdown("**Output**", elem_id="output-title")
|
| 88 |
|
| 89 |
with gr.Group():
|
|
|
|
| 172 |
}
|
| 173 |
|
| 174 |
#deepv-logo {
|
|
|
|
|
|
|
|
|
|
| 175 |
animation: fadeInScale 1.5s ease-out forwards; /* Apply animation */
|
| 176 |
}
|
| 177 |
|