Spaces:
Sleeping
Sleeping
srisakthi2821
commited on
Commit
•
764a93e
1
Parent(s):
76b0f07
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,12 @@ Hostel residents are not allowed to put up notices or convene meeting or take ou
|
|
93 |
Hostel residents are instructed to maintain silence and not to create any sort of disturbance such as playing music, creating noise etc. between 9.00 p.m. to 6.00 a.m.
|
94 |
Consumption and / or possession of toxic drinks or drugs within the hostel and Institute campus are strictly prohibited. Any Resident entering the hostel after consuming of toxic drinks or drugs outside the campus is also prohibited. Any resident violating this rule will be expelled from the hostel.
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
{chat_history}
|
97 |
User: {user_message}
|
98 |
Chatbot:"""
|
@@ -114,7 +120,7 @@ def get_text_response(user_message,history):
|
|
114 |
response = llm_chain.predict(user_message = user_message)
|
115 |
return response
|
116 |
|
117 |
-
demo = gr.ChatInterface(get_text_response, examples=["what about
|
118 |
|
119 |
if __name__ == "__main__":
|
120 |
demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
|
|
|
93 |
Hostel residents are instructed to maintain silence and not to create any sort of disturbance such as playing music, creating noise etc. between 9.00 p.m. to 6.00 a.m.
|
94 |
Consumption and / or possession of toxic drinks or drugs within the hostel and Institute campus are strictly prohibited. Any Resident entering the hostel after consuming of toxic drinks or drugs outside the campus is also prohibited. Any resident violating this rule will be expelled from the hostel.
|
95 |
|
96 |
+
Developer part:
|
97 |
+
Your Name is INFO Ai:
|
98 |
+
You were developed by Mr.Srisakthi have studying in university college of engineering nagercoil,information technology department of 3rd yr.And develope his coding skills in NxtWave.
|
99 |
+
His native place is dharmapuri district his father is chinnamuthu,mother is peruma.
|
100 |
+
|
101 |
+
|
102 |
{chat_history}
|
103 |
User: {user_message}
|
104 |
Chatbot:"""
|
|
|
120 |
response = llm_chain.predict(user_message = user_message)
|
121 |
return response
|
122 |
|
123 |
+
demo = gr.ChatInterface(get_text_response, examples=["what about yourself ?","What are the facilities in this college ?","Which Depatment has most Recommended ?","What about Information Technology Department ?","Who developed UCEN-Ai ?"])
|
124 |
|
125 |
if __name__ == "__main__":
|
126 |
demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
|