elapt1c commited on
Commit
b65a05a
·
verified ·
1 Parent(s): f642af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,8 +109,8 @@ def history_to_transformer_format(history):
109
 
110
  iface = gr.ChatInterface(
111
  fn=chat_with_model,
112
- inputs=gr.Chatbot(placeholder="Type your message here..."),
113
- outputs=gr.Chatbot(),
114
  title="ElapticAI-1a Chatbot",
115
  description="Simple chatbot interface for ElapticAI-1a model. Talk to the model and see its responses!",
116
  examples=[
 
109
 
110
  iface = gr.ChatInterface(
111
  fn=chat_with_model,
112
+ textbox=gr.Chatbox(placeholder="Type your message here..."), # Changed 'inputs' to 'textbox'
113
+ chatbot=gr.Chatbot(), # Changed 'outputs' to 'chatbot'
114
  title="ElapticAI-1a Chatbot",
115
  description="Simple chatbot interface for ElapticAI-1a model. Talk to the model and see its responses!",
116
  examples=[