Spaces:
Runtime error
Runtime error
Commit
·
c47f158
1
Parent(s):
06c1e78
Update app.py
Browse files
app.py
CHANGED
@@ -647,7 +647,7 @@ css = """
|
|
647 |
theme = gr.Theme.from_hub("shivi/calm_seafoam")
|
648 |
|
649 |
with gr.Blocks(theme=theme, css=css) as demo:
|
650 |
-
gr.Markdown("## <center>
|
651 |
|
652 |
with gr.Tab("Create SOAP and SBAR Reports"):
|
653 |
with gr.Column(elem_classes="col"):
|
@@ -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="Your Chosen File(s)
|
782 |
|
783 |
ask_all_soap_button = gr.Button("Ask all SOAP Reports")
|
784 |
-
ask_all_soap_output = gr.Textbox(label="All File(s)
|
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="Your Chosen File(s)
|
797 |
|
798 |
ask_all_sbar_button = gr.Button("Ask all SBAR Reports")
|
799 |
-
ask_all_sbar_output = gr.Textbox(label="All File(s)
|
800 |
|
801 |
gr.ClearButton([ask_sbar_input, ask_sbar_question, ask_sbar_output, ask_all_sbar_output])
|
802 |
|
@@ -820,17 +820,17 @@ 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="Your Question Document
|
824 |
|
825 |
search_gpt_button = gr.Button("Ask ChatGPT")
|
826 |
-
search_gpt_output = gr.Textbox(label="Your Question ChatGPT
|
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 |
|
833 |
-
with gr.Tab("Query
|
834 |
with gr.Column(elem_classes="col"):
|
835 |
|
836 |
local_process_button = gr.Button("Process")
|
@@ -838,10 +838,10 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
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
|
842 |
|
843 |
local_gpt_button = gr.Button("Ask ChatGPT")
|
844 |
-
local_gpt_output = gr.Textbox(label="Your Question ChatGPT
|
845 |
|
846 |
gr.ClearButton([local_process_output, local_search_input, local_search_output, local_gpt_output])
|
847 |
|
|
|
647 |
theme = gr.Theme.from_hub("shivi/calm_seafoam")
|
648 |
|
649 |
with gr.Blocks(theme=theme, css=css) as demo:
|
650 |
+
gr.Markdown("## <center>AI Emergency Scribe Plus App</center>")
|
651 |
|
652 |
with gr.Tab("Create SOAP and SBAR Reports"):
|
653 |
with gr.Column(elem_classes="col"):
|
|
|
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 Question-Answer From Chosen File(s)")
|
782 |
|
783 |
ask_all_soap_button = gr.Button("Ask all SOAP Reports")
|
784 |
+
ask_all_soap_output = gr.Textbox(label="Your Question-Answer From All File(s)")
|
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 Question-Answer From Chosen File(s)")
|
797 |
|
798 |
ask_all_sbar_button = gr.Button("Ask all SBAR Reports")
|
799 |
+
ask_all_sbar_output = gr.Textbox(label="Your Question-Answer From All File(s)")
|
800 |
|
801 |
gr.ClearButton([ask_sbar_input, ask_sbar_question, ask_sbar_output, ask_all_sbar_output])
|
802 |
|
|
|
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-Answer From Document")
|
824 |
|
825 |
search_gpt_button = gr.Button("Ask ChatGPT")
|
826 |
+
search_gpt_output = gr.Textbox(label="Your Question-Answer From ChatGPT")
|
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 |
|
833 |
+
with gr.Tab("Query ER knowledge Archieve Documents"):
|
834 |
with gr.Column(elem_classes="col"):
|
835 |
|
836 |
local_process_button = gr.Button("Process")
|
|
|
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-Answer From ER knowledge Archieve Documents")
|
842 |
|
843 |
local_gpt_button = gr.Button("Ask ChatGPT")
|
844 |
+
local_gpt_output = gr.Textbox(label="Your Question-Answer From ChatGPT")
|
845 |
|
846 |
gr.ClearButton([local_process_output, local_search_input, local_search_output, local_gpt_output])
|
847 |
|