Spaces:
Sleeping
Sleeping
srisakthi2821
commited on
Commit
•
f82c397
1
Parent(s):
231baa5
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def get_text_response(user_message,history):
|
|
139 |
response = llm_chain.predict(user_message = user_message)
|
140 |
return response
|
141 |
|
142 |
-
demo = gr.ChatInterface(get_text_response,
|
143 |
|
144 |
if __name__ == "__main__":
|
145 |
demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
|
|
|
139 |
response = llm_chain.predict(user_message = user_message)
|
140 |
return response
|
141 |
|
142 |
+
demo = gr.ChatInterface(get_text_response, examples=["what about yourself ?","What about the college ?","Which Depatment has most Recommended ?","What about Information Technology Department ?","Who developed INFO-AI ?"])
|
143 |
|
144 |
if __name__ == "__main__":
|
145 |
demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
|