paulcalzada commited on
Commit
3f24fde
·
1 Parent(s): 75b99f9

title customization 2

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -29,16 +29,6 @@ except Exception as e:
29
  with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) as demo:
30
  gr.Markdown("## DeepV for RTL Code Generation — Model-Agnostic (Bring Your Own API Key)", elem_id="main-title")
31
 
32
- # Status Bar for success/error messages
33
- status_bar = gr.Textbox(
34
- label="Status",
35
- lines=1,
36
- interactive=False,
37
- show_copy_button=False,
38
- container=False,
39
- value="Ready"
40
- )
41
-
42
  with gr.Row():
43
  with gr.Column(scale=2):
44
  with gr.Row():
@@ -130,8 +120,9 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
130
  outputs=[run_btn, loading_state]
131
  )
132
 
133
- clear_btn.click(fn=lambda: "Ready", outputs=[status_bar])
134
- spec.submit(fn=lambda: "Ready", outputs=[status_bar])
 
135
 
136
  copy_button.click(
137
  fn=copy_to_clipboard_fn,
 
29
  with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) as demo:
30
  gr.Markdown("## DeepV for RTL Code Generation — Model-Agnostic (Bring Your Own API Key)", elem_id="main-title")
31
 
 
 
 
 
 
 
 
 
 
 
32
  with gr.Row():
33
  with gr.Column(scale=2):
34
  with gr.Row():
 
120
  outputs=[run_btn, loading_state]
121
  )
122
 
123
+ # Removed the status bar updates from these functions
124
+ clear_btn.click(fn=lambda: "Ready", outputs=[])
125
+ spec.submit(fn=lambda: "Ready", outputs=[])
126
 
127
  copy_button.click(
128
  fn=copy_to_clipboard_fn,