Spaces:
Sleeping
Sleeping
srisakthi2821
commited on
Commit
•
b8c17c9
1
Parent(s):
0457948
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,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)
|
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()`.
|
|
|
114 |
response = llm_chain.predict(user_message = user_message)
|
115 |
return response
|
116 |
|
117 |
+
demo = gr.ChatInterface(get_text_response, examples=["How are you doing?","What are your interests?","Which places do you like to visit?"])
|
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()`.
|