Kakarot21 commited on
Commit
cd5e632
Β·
1 Parent(s): d69588c

Remove `type='messages'` from `gr.ChatInterface` arguments.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -83,8 +83,7 @@ demo = gr.ChatInterface(
83
  fn=chat_function,
84
  title="RAG Chat with Your Data",
85
  description=f"Ask questions about your documents. Powered by {MODEL_ID}.",
86
- examples=["What is the main topic?", "Summarize the content."],
87
- type="messages"
88
  )
89
 
90
  if __name__ == "__main__":
 
83
  fn=chat_function,
84
  title="RAG Chat with Your Data",
85
  description=f"Ask questions about your documents. Powered by {MODEL_ID}.",
86
+ examples=["What is the main topic?", "Summarize the content."]
 
87
  )
88
 
89
  if __name__ == "__main__":