Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
ee819dc
1
Parent(s):
141b4a5
Update app.py
Browse files
app.py
CHANGED
@@ -215,19 +215,15 @@ class LangChain_Document_QA:
|
|
215 |
with gr.Column(scale=0.8):
|
216 |
txt = gr.Textbox(
|
217 |
show_label=False,
|
218 |
-
placeholder="Patient"
|
219 |
-
).style(container=False)
|
220 |
|
221 |
with gr.Column(scale=0.2):
|
222 |
-
emptyBtn = gr.Button(
|
223 |
-
"🧹 Clear",elem_classes="height"
|
224 |
-
)
|
225 |
with gr.Row():
|
226 |
with gr.Column(scale=0.80):
|
227 |
txt3 =gr.Textbox(
|
228 |
show_label=False,
|
229 |
-
placeholder="AI Healthcare Suggesstion"
|
230 |
-
).style(container=False)
|
231 |
with gr.Column(scale=0.20, min_width=0):
|
232 |
button=gr.Button(value="🚀send")
|
233 |
with gr.Row():
|
@@ -235,25 +231,19 @@ class LangChain_Document_QA:
|
|
235 |
txt4 =gr.Textbox(
|
236 |
show_label=False,
|
237 |
lines=4,
|
238 |
-
placeholder="Summary"
|
239 |
-
).style(container=False)
|
240 |
with gr.Column(scale=0.50):
|
241 |
txt5 =gr.Textbox(
|
242 |
show_label=False,
|
243 |
lines=4,
|
244 |
-
placeholder="Sentiment"
|
245 |
-
).style(container=False)
|
246 |
with gr.Row():
|
247 |
with gr.Column(scale=0.50, min_width=0):
|
248 |
-
end_btn=gr.Button(
|
249 |
-
value="End",
|
250 |
-
)
|
251 |
with gr.Column(scale=0.50, min_width=0):
|
252 |
-
Sentiment_btn=gr.Button(
|
253 |
-
value="📊",callback=self._on_sentiment_btn_click
|
254 |
-
)
|
255 |
with gr.Row():
|
256 |
-
|
257 |
with gr.Row():
|
258 |
with gr.Column(scale=0.50, min_width=0):
|
259 |
plot =gr.Plot(label="Patient", size=(500, 600))
|
|
|
215 |
with gr.Column(scale=0.8):
|
216 |
txt = gr.Textbox(
|
217 |
show_label=False,
|
218 |
+
placeholder="Patient").style(container=False)
|
|
|
219 |
|
220 |
with gr.Column(scale=0.2):
|
221 |
+
emptyBtn = gr.Button("🧹 Clear",elem_classes="height")
|
|
|
|
|
222 |
with gr.Row():
|
223 |
with gr.Column(scale=0.80):
|
224 |
txt3 =gr.Textbox(
|
225 |
show_label=False,
|
226 |
+
placeholder="AI Healthcare Suggesstion").style(container=False)
|
|
|
227 |
with gr.Column(scale=0.20, min_width=0):
|
228 |
button=gr.Button(value="🚀send")
|
229 |
with gr.Row():
|
|
|
231 |
txt4 =gr.Textbox(
|
232 |
show_label=False,
|
233 |
lines=4,
|
234 |
+
placeholder="Summary").style(container=False)
|
|
|
235 |
with gr.Column(scale=0.50):
|
236 |
txt5 =gr.Textbox(
|
237 |
show_label=False,
|
238 |
lines=4,
|
239 |
+
placeholder="Sentiment").style(container=False)
|
|
|
240 |
with gr.Row():
|
241 |
with gr.Column(scale=0.50, min_width=0):
|
242 |
+
end_btn=gr.Button(value="End")
|
|
|
|
|
243 |
with gr.Column(scale=0.50, min_width=0):
|
244 |
+
Sentiment_btn=gr.Button(value="📊",callback=self._on_sentiment_btn_click)
|
|
|
|
|
245 |
with gr.Row():
|
246 |
+
gr.HTML("""<center><h1>Sentiment and Emotion Score Graph</h1></center>""")
|
247 |
with gr.Row():
|
248 |
with gr.Column(scale=0.50, min_width=0):
|
249 |
plot =gr.Plot(label="Patient", size=(500, 600))
|