Spaces:
Runtime error
Runtime error
Commit
·
06c1e78
1
Parent(s):
fdd7b96
Update app.py
Browse files
app.py
CHANGED
@@ -778,10 +778,10 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
778 |
|
779 |
ask_soap_question = gr.Textbox(label="Enter Question here")
|
780 |
ask_soap_button = gr.Button("Submit")
|
781 |
-
ask_soap_output = gr.Textbox(label="Output")
|
782 |
|
783 |
ask_all_soap_button = gr.Button("Ask all SOAP Reports")
|
784 |
-
ask_all_soap_output = gr.Textbox(label="Output")
|
785 |
|
786 |
gr.ClearButton([ask_soap_input, ask_soap_question, ask_soap_output, ask_all_soap_output])
|
787 |
|
@@ -793,10 +793,10 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
793 |
|
794 |
ask_sbar_question = gr.Textbox(label="Enter Question here")
|
795 |
ask_sbar_button = gr.Button("Submit")
|
796 |
-
ask_sbar_output = gr.Textbox(label="Output")
|
797 |
|
798 |
ask_all_sbar_button = gr.Button("Ask all SBAR Reports")
|
799 |
-
ask_all_sbar_output = gr.Textbox(label="Output")
|
800 |
|
801 |
gr.ClearButton([ask_sbar_input, ask_sbar_question, ask_sbar_output, ask_all_sbar_output])
|
802 |
|
@@ -808,10 +808,10 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
808 |
|
809 |
file_upload_input = gr.Files(label="Upload File(s) here")
|
810 |
file_upload_button = gr.Button("Upload")
|
811 |
-
file_upload_output = gr.Textbox(label="Output")
|
812 |
|
813 |
file_process_button = gr.Button("Process")
|
814 |
-
file_process_output = gr.Textbox(label="Output")
|
815 |
|
816 |
gr.ClearButton([file_upload_input, file_upload_output, file_process_output])
|
817 |
|
@@ -820,13 +820,13 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
820 |
|
821 |
file_search_input = gr.Textbox(label="Enter Question here")
|
822 |
file_search_button = gr.Button("Search")
|
823 |
-
file_search_output = gr.Textbox(label="
|
824 |
|
825 |
search_gpt_button = gr.Button("Ask ChatGPT")
|
826 |
-
search_gpt_output = gr.Textbox(label="
|
827 |
|
828 |
file_delete_button = gr.Button("Delete")
|
829 |
-
file_delete_output = gr.Textbox(label="Output")
|
830 |
|
831 |
gr.ClearButton([file_search_input, file_search_output, search_gpt_output, file_delete_output])
|
832 |
|
@@ -834,14 +834,14 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
834 |
with gr.Column(elem_classes="col"):
|
835 |
|
836 |
local_process_button = gr.Button("Process")
|
837 |
-
local_process_output = gr.Textbox(label="Output")
|
838 |
|
839 |
local_search_input = gr.Textbox(label="Enter Question here")
|
840 |
local_search_button = gr.Button("Search")
|
841 |
-
local_search_output = gr.Textbox(label="
|
842 |
|
843 |
local_gpt_button = gr.Button("Ask ChatGPT")
|
844 |
-
local_gpt_output = gr.Textbox(label="
|
845 |
|
846 |
gr.ClearButton([local_process_output, local_search_input, local_search_output, local_gpt_output])
|
847 |
|
|
|
778 |
|
779 |
ask_soap_question = gr.Textbox(label="Enter Question here")
|
780 |
ask_soap_button = gr.Button("Submit")
|
781 |
+
ask_soap_output = gr.Textbox(label="Your Chosen File(s) Output")
|
782 |
|
783 |
ask_all_soap_button = gr.Button("Ask all SOAP Reports")
|
784 |
+
ask_all_soap_output = gr.Textbox(label="All File(s) Output")
|
785 |
|
786 |
gr.ClearButton([ask_soap_input, ask_soap_question, ask_soap_output, ask_all_soap_output])
|
787 |
|
|
|
793 |
|
794 |
ask_sbar_question = gr.Textbox(label="Enter Question here")
|
795 |
ask_sbar_button = gr.Button("Submit")
|
796 |
+
ask_sbar_output = gr.Textbox(label="Your Chosen File(s) Output")
|
797 |
|
798 |
ask_all_sbar_button = gr.Button("Ask all SBAR Reports")
|
799 |
+
ask_all_sbar_output = gr.Textbox(label="All File(s) Output")
|
800 |
|
801 |
gr.ClearButton([ask_sbar_input, ask_sbar_question, ask_sbar_output, ask_all_sbar_output])
|
802 |
|
|
|
808 |
|
809 |
file_upload_input = gr.Files(label="Upload File(s) here")
|
810 |
file_upload_button = gr.Button("Upload")
|
811 |
+
file_upload_output = gr.Textbox(label="Upload Output Status")
|
812 |
|
813 |
file_process_button = gr.Button("Process")
|
814 |
+
file_process_output = gr.Textbox(label="Process Output Status")
|
815 |
|
816 |
gr.ClearButton([file_upload_input, file_upload_output, file_process_output])
|
817 |
|
|
|
820 |
|
821 |
file_search_input = gr.Textbox(label="Enter Question here")
|
822 |
file_search_button = gr.Button("Search")
|
823 |
+
file_search_output = gr.Textbox(label="Your Question Document Answer")
|
824 |
|
825 |
search_gpt_button = gr.Button("Ask ChatGPT")
|
826 |
+
search_gpt_output = gr.Textbox(label="Your Question ChatGPT Answer")
|
827 |
|
828 |
file_delete_button = gr.Button("Delete")
|
829 |
+
file_delete_output = gr.Textbox(label="Delete Output Status")
|
830 |
|
831 |
gr.ClearButton([file_search_input, file_search_output, search_gpt_output, file_delete_output])
|
832 |
|
|
|
834 |
with gr.Column(elem_classes="col"):
|
835 |
|
836 |
local_process_button = gr.Button("Process")
|
837 |
+
local_process_output = gr.Textbox(label="Process Output Status")
|
838 |
|
839 |
local_search_input = gr.Textbox(label="Enter Question here")
|
840 |
local_search_button = gr.Button("Search")
|
841 |
+
local_search_output = gr.Textbox(label="Your Question Document Answer")
|
842 |
|
843 |
local_gpt_button = gr.Button("Ask ChatGPT")
|
844 |
+
local_gpt_output = gr.Textbox(label="Your Question ChatGPT Answer")
|
845 |
|
846 |
gr.ClearButton([local_process_output, local_search_input, local_search_output, local_gpt_output])
|
847 |
|