paulcalzada commited on
Commit
4b68c42
·
verified ·
1 Parent(s): 55d395d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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 instead of "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, contain=True, show_label=False, elem_id="deepv-logo")
78
 
79
  with gr.Group():
80
  out_code = gr.Textbox(
@@ -104,7 +104,6 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
104
  def copy_to_clipboard_fn(text):
105
  return text
106
 
107
- # We can simplify show_loading/hide_loading as animation JS is removed
108
  def show_loading_no_anim():
109
  return [gr.update(visible=False), gr.update(visible=True)]
110
 
@@ -159,7 +158,7 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
159
  #logo-row {
160
  display: flex;
161
  align-items: center;
162
- justify-content: center; /* Center the logo */
163
  margin-bottom: 10px;
164
  height: 80px;
165
  }
 
72
 
73
  with gr.Column(scale=3):
74
  # --- DeepV Logo instead of "Output" text ---
75
+ with gr.Row(elem_id="logo-row"):
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
  with gr.Group():
80
  out_code = gr.Textbox(
 
104
  def copy_to_clipboard_fn(text):
105
  return text
106
 
 
107
  def show_loading_no_anim():
108
  return [gr.update(visible=False), gr.update(visible=True)]
109
 
 
158
  #logo-row {
159
  display: flex;
160
  align-items: center;
161
+ justify-content: center;
162
  margin-bottom: 10px;
163
  height: 80px;
164
  }