menta360 commited on
Commit
f200e68
·
verified ·
1 Parent(s): 07a1b71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def chat_fn(message, history):
25
  response = model(full_prompt)
26
  return response.strip()
27
 
28
- demo = gr.ChatInterface(fn=chat_fn, title="Mentora Mely", theme="soft", type="chat")
29
 
30
  if __name__ == "__main__":
31
  demo.launch()
 
25
  response = model(full_prompt)
26
  return response.strip()
27
 
28
+ demo = gr.ChatInterface(fn=chat_fn, title="Mentora Mely", theme="soft", type="messages")
29
 
30
  if __name__ == "__main__":
31
  demo.launch()