ArunAIML commited on
Commit
3e48917
·
verified ·
1 Parent(s): 296c5d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,6 +49,6 @@ def chat(prompt, history):
49
 
50
  return model(system_data + get_history(history)+ get_user_data(prompt)).content
51
 
52
- demo = gr.ChatInterface(chat, type="messages",title="ArunGPT",theme = gr.themes.Soft(), description="Hello this is chatbot is created for only educational purpose and is powered by mistral 8x 7b model").queue()
53
 
54
  demo.launch()
 
49
 
50
  return model(system_data + get_history(history)+ get_user_data(prompt)).content
51
 
52
+ demo = gr.ChatInterface(chat, chatbot=gr.Chatbot(),title="ArunGPT",theme = gr.themes.Soft(), description="Hello this is chatbot is created for only educational purpose and is powered by mistral 8x 7b model").queue()
53
 
54
  demo.launch()