Commit ·
a4baaf3
1
Parent(s): 0463035
removed status
Browse files
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)")
|
| 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():
|
|
@@ -131,9 +121,6 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 131 |
outputs=[run_btn, loading_state]
|
| 132 |
)
|
| 133 |
|
| 134 |
-
clear_btn.click(fn=lambda: "Ready", outputs=[status_bar])
|
| 135 |
-
spec.submit(fn=lambda: "Ready", outputs=[status_bar])
|
| 136 |
-
|
| 137 |
copy_button.click(
|
| 138 |
fn=copy_to_clipboard_fn,
|
| 139 |
inputs=[out_code],
|
|
|
|
| 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)")
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
with gr.Row():
|
| 33 |
with gr.Column(scale=2):
|
| 34 |
with gr.Row():
|
|
|
|
| 121 |
outputs=[run_btn, loading_state]
|
| 122 |
)
|
| 123 |
|
|
|
|
|
|
|
|
|
|
| 124 |
copy_button.click(
|
| 125 |
fn=copy_to_clipboard_fn,
|
| 126 |
inputs=[out_code],
|