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

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
- 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=[
 
109
 
110
  iface = gr.ChatInterface(
111
  fn=chat_with_model,
112
+ chatbox=gr.Textbox(placeholder="Type your message here..."), # Changed Chatbox to Textbox
113
+ chatbot=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=[