srinuksv commited on
Commit
ae9fd8e
1 Parent(s): bd3f667

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -96,13 +96,19 @@ def chatbot_handler(query):
96
  response = handle_query(query)
97
  return response
98
 
99
- # Create the Gradio interface
100
  interface = gr.Interface(
101
  fn=chatbot_handler,
102
  inputs=input_component,
103
  outputs=output_component,
104
  title="RedfernsTech Q&A Chatbot",
105
- description="Ask me anything about the uploaded document."
 
 
 
 
 
 
106
  )
107
 
108
  # Launch the Gradio interface
 
96
  response = handle_query(query)
97
  return response
98
 
99
+ # Create the Gradio interface with modified settings
100
  interface = gr.Interface(
101
  fn=chatbot_handler,
102
  inputs=input_component,
103
  outputs=output_component,
104
  title="RedfernsTech Q&A Chatbot",
105
+ description="Ask me anything about the uploaded document. I'll provide answers based on our conversation history.",
106
+ theme="compact", # Change the theme if desired
107
+ examples=[
108
+ ["What are the benefits of using Python for data analysis?"],
109
+ ["How can I improve my website's performance?"],
110
+ ["Tell me about the latest trends in AI."]
111
+ ]
112
  )
113
 
114
  # Launch the Gradio interface