seapoe1809 commited on
Commit
87e4d53
1 Parent(s): 8671130

Update darnabot.py

Browse files
Files changed (1) hide show
  1. darnabot.py +3 -3
darnabot.py CHANGED
@@ -893,13 +893,13 @@ with gr.Blocks(theme='Taithrah/Minimal', css= "footer{display:none !important}")
893
  """)
894
  with gr.Tab("DARNABOT"):
895
  chatbot = gr.Chatbot(label="DARNAHI CONCIERGE 🛎️")
896
- msg = gr.Textbox(label="Ask DARNABOT:", placeholder="How can I help?")
897
  with gr.Row():
898
  btn1 = gr.Button("Ask")
899
  Clear = gr.ClearButton([msg, chatbot])
900
 
901
-
902
- btn1.click(my_function, inputs=[msg, chatbot], outputs=[chatbot])
903
  Clear.click(clear_conversation, outputs=[msg, chatbot])
904
 
905
 
 
893
  """)
894
  with gr.Tab("DARNABOT"):
895
  chatbot = gr.Chatbot(label="DARNAHI CONCIERGE 🛎️")
896
+ msg = gr.Textbox(label="Ask DARNABOT:", placeholder="This is a Demo App. Download Darnahi to Enjoy Full Features?")
897
  with gr.Row():
898
  btn1 = gr.Button("Ask")
899
  Clear = gr.ClearButton([msg, chatbot])
900
 
901
+ btn1.click(inputs=[msg, chatbot], outputs="Good morning. Download to enjoy Darnahi.")
902
+ #btn1.click(my_function, inputs=[msg, chatbot], outputs=[chatbot])
903
  Clear.click(clear_conversation, outputs=[msg, chatbot])
904
 
905