pragyarama commited on
Commit
f25270a
·
verified ·
1 Parent(s): de40989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,7 +113,7 @@ def respond(message, history, name, country): # Generate a response using the mo
113
  # SURVEY
114
  def submit_survey(name, country):
115
  print(f"Survey received - Name: {name}, Country: {country}")
116
- return f"Thank you, {name}! Your survey response has been recorded.", name, country
117
 
118
  class MyCustomTheme(gr.themes.Base):
119
  def __init__(self):
@@ -163,7 +163,7 @@ with gr.Blocks(theme=custom_theme, css="* { color: #0c265b !important; }") as de
163
  gr.Markdown("## Miles")
164
 
165
  chatbot = gr.Chatbot()
166
- msg = gr.Textbox(label="Ask me anything about your trip!")
167
  send_btn = gr.Button("Send")
168
 
169
  send_btn.click(
 
113
  # SURVEY
114
  def submit_survey(name, country):
115
  print(f"Survey received - Name: {name}, Country: {country}")
116
+ return f"Thank you, {name}! Your survey response has been recorded. Ask Miles about any questions you have!", name, country
117
 
118
  class MyCustomTheme(gr.themes.Base):
119
  def __init__(self):
 
163
  gr.Markdown("## Miles")
164
 
165
  chatbot = gr.Chatbot()
166
+ msg = gr.Textbox(label="Hi, I'm Miles! Ask me anything about your trip!")
167
  send_btn = gr.Button("Send")
168
 
169
  send_btn.click(