sofzcc commited on
Commit
ef49b02
·
verified ·
1 Parent(s): a80d6ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -265,12 +265,11 @@ help center or internal documentation. Here, it's using a small demo
265
  knowledge base to show how retrieval-based self-service can work.
266
  """
267
 
268
- # Create ChatInterface
269
  chat_interface = gr.ChatInterface(
270
  fn=chat_respond,
271
  title="🤖 Self-Service KB Assistant",
272
  description=description,
273
- type="messages",
274
  examples=[
275
  "What makes a good knowledge base article?",
276
  "How could a KB assistant help agents?",
 
265
  knowledge base to show how retrieval-based self-service can work.
266
  """
267
 
268
+ # Create ChatInterface (without 'type' parameter for compatibility)
269
  chat_interface = gr.ChatInterface(
270
  fn=chat_respond,
271
  title="🤖 Self-Service KB Assistant",
272
  description=description,
 
273
  examples=[
274
  "What makes a good knowledge base article?",
275
  "How could a KB assistant help agents?",