alxd
commited on
Commit
Β·
0e17596
1
Parent(s):
ce7bfbc
remove sending email buttons
Browse files- scoutLLM.py +10 -10
scoutLLM.py
CHANGED
|
@@ -520,14 +520,14 @@ with gr.Blocks() as app:
|
|
| 520 |
token_info = gr.Textbox(label="Token Info", interactive=False)
|
| 521 |
|
| 522 |
# Add buttons for copying and sending email
|
| 523 |
-
with gr.Row():
|
| 524 |
-
copy_plain_button = gr.Button("π Copy Plain Text")
|
| 525 |
-
copy_formatted_button = gr.Button("π Copy Formatted")
|
| 526 |
|
| 527 |
-
with gr.Row():
|
| 528 |
-
email_input = gr.Textbox(label="Email Address")
|
| 529 |
-
send_email_button = gr.Button("π§ Send Report")
|
| 530 |
-
email_status = gr.Textbox(label="Status", interactive=False)
|
| 531 |
|
| 532 |
# Job Status Output in right column
|
| 533 |
with gr.Column(scale=1):
|
|
@@ -601,9 +601,9 @@ with gr.Blocks() as app:
|
|
| 601 |
)
|
| 602 |
|
| 603 |
# Copy and email buttons
|
| 604 |
-
copy_plain_button.click(fn=copy_plain_text, inputs=[status_output], outputs=[email_status])
|
| 605 |
-
copy_formatted_button.click(fn=copy_to_clipboard, inputs=[status_output], outputs=[email_status])
|
| 606 |
-
send_email_button.click(fn=send_email, inputs=[email_input, status_output], outputs=[email_status])
|
| 607 |
|
| 608 |
|
| 609 |
if __name__ == "__main__":
|
|
|
|
| 520 |
token_info = gr.Textbox(label="Token Info", interactive=False)
|
| 521 |
|
| 522 |
# Add buttons for copying and sending email
|
| 523 |
+
# with gr.Row():
|
| 524 |
+
# copy_plain_button = gr.Button("π Copy Plain Text")
|
| 525 |
+
# copy_formatted_button = gr.Button("π Copy Formatted")
|
| 526 |
|
| 527 |
+
# with gr.Row():
|
| 528 |
+
# email_input = gr.Textbox(label="Email Address")
|
| 529 |
+
# send_email_button = gr.Button("π§ Send Report")
|
| 530 |
+
# email_status = gr.Textbox(label="Status", interactive=False)
|
| 531 |
|
| 532 |
# Job Status Output in right column
|
| 533 |
with gr.Column(scale=1):
|
|
|
|
| 601 |
)
|
| 602 |
|
| 603 |
# Copy and email buttons
|
| 604 |
+
# copy_plain_button.click(fn=copy_plain_text, inputs=[status_output], outputs=[email_status])
|
| 605 |
+
# copy_formatted_button.click(fn=copy_to_clipboard, inputs=[status_output], outputs=[email_status])
|
| 606 |
+
# send_email_button.click(fn=send_email, inputs=[email_input, status_output], outputs=[email_status])
|
| 607 |
|
| 608 |
|
| 609 |
if __name__ == "__main__":
|