Joe7oo7 commited on
Commit
56096df
·
verified ·
1 Parent(s): 748895a

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +7 -7
gradio_app.py CHANGED
@@ -12,13 +12,13 @@ def respond(input_text):
12
 
13
  # Step 3: Create a Gradio interface
14
  # This interface will take text input from the user and display the chatbot's response
15
- iface = gr.Interface(
16
- fn=respond, # The function to call when the user submits input
17
- inputs="text", # The type of input (text)
18
- outputs="text", # The type of output (text)
19
- title="HugChat - Your AI Chatbot", # The title of your chatbot
20
- description="Chat with an AI-powered bot based on a pre-trained model." # A short description
21
- )
22
 
23
  iface.launch(inline=True, share=True, css="""
24
  body {
 
12
 
13
  # Step 3: Create a Gradio interface
14
  # This interface will take text input from the user and display the chatbot's response
15
+ # iface = gr.Interface(
16
+ # fn=respond, # The function to call when the user submits input
17
+ # inputs="text", # The type of input (text)
18
+ # outputs="text", # The type of output (text)
19
+ # title="HugChat - Your AI Chatbot", # The title of your chatbot
20
+ # description="Chat with an AI-powered bot based on a pre-trained model." # A short description
21
+ # )
22
 
23
  iface.launch(inline=True, share=True, css="""
24
  body {