rossiter78 commited on
Commit
ab70608
·
verified ·
1 Parent(s): 735df5a

Updated to have more specific CPA content.

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -18,7 +18,7 @@ def call_langflow(message, history):
18
  "Content-Type": "application/json",
19
  }
20
 
21
- # Add API key if needed
22
  if HF_API_KEY:
23
  headers["Authorization"] = f"Bearer {HF_API_KEY}"
24
  if LANGFLOW_API_KEY:
@@ -61,9 +61,9 @@ def call_langflow(message, history):
61
  # Create Gradio Chat Interface
62
  demo = gr.ChatInterface(
63
  fn=call_langflow,
64
- title="My Langflow Chatbot",
65
- description="Chat with my AI assistant powered by Langflow",
66
- examples=["Hello!", "What can you help me with?"],
67
  theme=gr.themes.Soft(),
68
  retry_btn=None,
69
  undo_btn=None,
 
18
  "Content-Type": "application/json",
19
  }
20
 
21
+ # Add API keys
22
  if HF_API_KEY:
23
  headers["Authorization"] = f"Bearer {HF_API_KEY}"
24
  if LANGFLOW_API_KEY:
 
61
  # Create Gradio Chat Interface
62
  demo = gr.ChatInterface(
63
  fn=call_langflow,
64
+ title="CPA Chatbot POC",
65
+ description="You can use this chatbot to answer questions related to Crown Pointe Academy policies.",
66
+ examples=["Summarize the school's uniform policy", "Can a student wear earrings?"],
67
  theme=gr.themes.Soft(),
68
  retry_btn=None,
69
  undo_btn=None,