Kvikontent commited on
Commit
e69d0e5
·
1 Parent(s): cdb3da1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def generate_response(user_input):
13
  return response
14
 
15
  input_textbox = gr.Textbox(lines=10, label="Enter your text here")
16
- output_textbox = gr.outputs.Textbox(label="Chatbot Response")
17
 
18
  chatbot_interface = gr.Interface(fn=generate_response, inputs=input_textbox, outputs=output_textbox, title="Hugging Face BART Chatbot", description="This chatbot uses the Hugging Face BART model to generate responses based on user input.")
19
  chatbot_interface.launch()
 
13
  return response
14
 
15
  input_textbox = gr.Textbox(lines=10, label="Enter your text here")
16
+ output_textbox = gr.Textbox(label="Chatbot Response")
17
 
18
  chatbot_interface = gr.Interface(fn=generate_response, inputs=input_textbox, outputs=output_textbox, title="Hugging Face BART Chatbot", description="This chatbot uses the Hugging Face BART model to generate responses based on user input.")
19
  chatbot_interface.launch()