Spaces:
Paused
Paused
Commit
·
cadbd48
1
Parent(s):
67f3082
Update app.py
Browse files
app.py
CHANGED
@@ -110,14 +110,15 @@ print("WHISPER_MODEL", WHISPER_MODEL)
|
|
110 |
CSS = ".gradio-container {background-color: lightgray}"
|
111 |
|
112 |
# placeholder for chat text input
|
113 |
-
PLACEHOLDER = "
|
114 |
|
115 |
# example questions
|
116 |
-
EXAMPLES = ["What is the name of
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
121 |
AUTHORS = """
|
122 |
<p>This application, developed by <b>Greg Hayworth, Srikanth Tangelloju, Lincoln Snyder, Michal Piekarczyk, and Xingde Jiang</b>,
|
123 |
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
@@ -628,8 +629,7 @@ with gr.Blocks(css=CSS) as block:
|
|
628 |
with gr.Tab("Chat"):
|
629 |
with gr.Row():
|
630 |
with gr.Column():
|
631 |
-
gr.
|
632 |
-
"""<b><center>NLP QA Chat Demo</center></b>""")
|
633 |
|
634 |
with gr.Row():
|
635 |
with gr.Column(scale=1, min_width=TALKING_HEAD_WIDTH, visible=True):
|
|
|
110 |
CSS = ".gradio-container {background-color: lightgray}"
|
111 |
|
112 |
# placeholder for chat text input
|
113 |
+
PLACEHOLDER = "How much is the monthly premium?"
|
114 |
|
115 |
# example questions
|
116 |
+
EXAMPLES = ["What is the name of my plan?",
|
117 |
+
"How much is the monthly premium?",
|
118 |
+
"Is prostate cancer screening supported by my plan?",
|
119 |
+
"How much is the max out of pocket for my plan?",
|
120 |
+
"Do out of network copays count toward that?",
|
121 |
+
"Have I spent enough on drug expenses for catastrophic coverage to start?"]
|
122 |
AUTHORS = """
|
123 |
<p>This application, developed by <b>Greg Hayworth, Srikanth Tangelloju, Lincoln Snyder, Michal Piekarczyk, and Xingde Jiang</b>,
|
124 |
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
|
|
629 |
with gr.Tab("Chat"):
|
630 |
with gr.Row():
|
631 |
with gr.Column():
|
632 |
+
gr.Markdown("""# NLP QA Chat Demo""")
|
|
|
633 |
|
634 |
with gr.Row():
|
635 |
with gr.Column(scale=1, min_width=TALKING_HEAD_WIDTH, visible=True):
|