paulcalzada commited on
Commit
8315884
·
verified ·
1 Parent(s): b92e577

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -71,17 +71,17 @@ 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 (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")
@@ -175,6 +175,11 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
175
  animation: fadeInScale 1.5s ease-out forwards; /* Apply animation */
176
  }
177
 
 
 
 
 
 
178
  #output-title {
179
  margin: 0; /* Remove default margin from Markdown to prevent offset */
180
  font-size: 1.2em; /* Adjust font size if needed */
 
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.Image(
77
  "DeepV_logo.png",
78
+ height=70, # Increased size
79
+ width=70, # Increased size
80
  show_label=False,
81
  show_download_button=False,
82
  show_share_button=False,
83
+ container=False,
84
+ interactive=False,
85
  elem_id="deepv-logo"
86
  )
87
  gr.Markdown("**Output**", elem_id="output-title")
 
175
  animation: fadeInScale 1.5s ease-out forwards; /* Apply animation */
176
  }
177
 
178
+ /* NEW: Hide the expand icon specifically */
179
+ #deepv-logo .zoom-icon {
180
+ display: none !important;
181
+ }
182
+
183
  #output-title {
184
  margin: 0; /* Remove default margin from Markdown to prevent offset */
185
  font-size: 1.2em; /* Adjust font size if needed */