krishna-k commited on
Commit
ed8fe38
·
verified ·
1 Parent(s): 3dad239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def chat_with_bot(user_input):
11
 
12
  interface = gr.Interface(
13
  fn=chat_with_bot, # Function to call for processing the input
14
- # inputs=gr.Textbox(label="Enter your message"), # User input (text)
15
- # outputs=gr.Textbox(label="Chatbot Response"), # Model output (text)
16
  title="Chat with DeepSeek", # Optional: Add a title to your interface
17
  description="Chat with an AI model powered by DeepSeek!" # Optional: Add a description
18
  )
 
11
 
12
  interface = gr.Interface(
13
  fn=chat_with_bot, # Function to call for processing the input
14
+ inputs=gr.Textbox(label="Enter your message"), # User input (text)
15
+ outputs=gr.Textbox(label="Chatbot Response", elem_height=300, lines=10), # Model output (text)
16
  title="Chat with DeepSeek", # Optional: Add a title to your interface
17
  description="Chat with an AI model powered by DeepSeek!" # Optional: Add a description
18
  )