kumaranJaisankar commited on
Commit
bd6d68d
1 Parent(s): a04de9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -69,7 +69,7 @@ WhatsApp: +91 (909) 229-6765
69
 
70
 
71
  {{chat_history}}
72
- User: {{user_message}}without family details?
73
  Kumaran:"""
74
 
75
 
@@ -90,7 +90,14 @@ def get_text_response(user_message,history):
90
  response = llm_chain.predict(user_message = user_message)
91
  return response
92
 
93
- demo = gr.ChatInterface(get_text_response, examples=["Where did you learn this techonologies?","What are your interests?","Which places do you like to visit?","Your greatest Achievements?","how can connect to you through linkedin?"])
 
 
 
 
 
 
 
94
 
95
  if __name__ == "__main__":
96
  demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
 
69
 
70
 
71
  {{chat_history}}
72
+ User: {{user_message}}
73
  Kumaran:"""
74
 
75
 
 
90
  response = llm_chain.predict(user_message = user_message)
91
  return response
92
 
93
+ theme = gr.themes.Default(primary_hue="blue").set(
94
+
95
+ button_primary_background_fill="*primary_400",
96
+ button_primary_background_fill_hover="*primary_300",
97
+
98
+ )
99
+
100
+ demo = gr.ChatInterface(get_text_response,,undo_btn=None,clear_btn=None,retry_btn=None,,submit_btn='send',theme=theme,examples=["Where did you learn this techonologies?","What are your interests?","Which places do you like to visit?","Your greatest Achievements?","how can connect to you through linkedin?"])
101
 
102
  if __name__ == "__main__":
103
  demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.