Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
β’
d4d2bc1
1
Parent(s):
327610a
Update app.py
Browse files
app.py
CHANGED
@@ -209,7 +209,7 @@ class LangChain_Document_QA:
|
|
209 |
def gradio_interface(self):
|
210 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
211 |
with gr.Row():
|
212 |
-
gr.HTML("""<img class="image" src="https://www.syrahealth.com/images/SyraHealth_Logo_Dark.svg" alt="Image" width="210" height="210">
|
213 |
""")
|
214 |
with gr.Row():
|
215 |
gr.HTML("""<center><h1>AI Mental Healthcare ChatBot</h1></center>""")
|
@@ -249,11 +249,11 @@ class LangChain_Document_QA:
|
|
249 |
with gr.Row():
|
250 |
with gr.Column(scale=0.50, min_width=0):
|
251 |
end_btn=gr.Button(
|
252 |
-
value="End",
|
253 |
)
|
254 |
with gr.Column(scale=0.50, min_width=0):
|
255 |
Sentiment_btn=gr.Button(
|
256 |
-
value="π",
|
257 |
)
|
258 |
with gr.Row():
|
259 |
gr.HTML("""<center><h1>Sentiment and Emotion Score Graph</h1></center>""")
|
|
|
209 |
def gradio_interface(self):
|
210 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
211 |
with gr.Row():
|
212 |
+
gr.HTML("""<center><img class="image" src="https://www.syrahealth.com/images/SyraHealth_Logo_Dark.svg" alt="Image" width="210" height="210"></center>
|
213 |
""")
|
214 |
with gr.Row():
|
215 |
gr.HTML("""<center><h1>AI Mental Healthcare ChatBot</h1></center>""")
|
|
|
249 |
with gr.Row():
|
250 |
with gr.Column(scale=0.50, min_width=0):
|
251 |
end_btn=gr.Button(
|
252 |
+
value="End",
|
253 |
)
|
254 |
with gr.Column(scale=0.50, min_width=0):
|
255 |
Sentiment_btn=gr.Button(
|
256 |
+
value="π",callback=self._on_sentiment_btn_click
|
257 |
)
|
258 |
with gr.Row():
|
259 |
gr.HTML("""<center><h1>Sentiment and Emotion Score Graph</h1></center>""")
|