sonali-tamhankar
commited on
Commit
•
4027446
1
Parent(s):
c8e9502
Commenting out all chainlit code, keeping only a streamlit header to debug
Browse files
app.py
CHANGED
@@ -60,6 +60,10 @@ def final_result(query):
|
|
60 |
response = qa_result({'query': query})
|
61 |
return response
|
62 |
|
|
|
|
|
|
|
|
|
63 |
#chainlit code
|
64 |
@cl.on_chat_start
|
65 |
async def start():
|
@@ -87,4 +91,4 @@ async def main(message):
|
|
87 |
else:
|
88 |
answer += "\nNo sources found"
|
89 |
|
90 |
-
await cl.Message(content=answer).send()
|
|
|
60 |
response = qa_result({'query': query})
|
61 |
return response
|
62 |
|
63 |
+
|
64 |
+
st.header("Hospital Regulatory Chat - :hospital:")
|
65 |
+
|
66 |
+
'''
|
67 |
#chainlit code
|
68 |
@cl.on_chat_start
|
69 |
async def start():
|
|
|
91 |
else:
|
92 |
answer += "\nNo sources found"
|
93 |
|
94 |
+
await cl.Message(content=answer).send()'''
|