Ifeanyi commited on
Commit
82006d2
·
verified ·
1 Parent(s): cffb55a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,15 +1,15 @@
1
  import gradio as gr
2
  from retriever import retriever
3
 
4
- app = gr.ChatInterface(retriever,
5
- chatbot=gr.Chatbot(height=400),
6
  type = "messages",
7
  textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
8
- title="Cache Augmented Generation System",
9
  theme="upsatwal/mlsc_tiet",
10
- examples=["What position was applied for at DAME?",
11
- "What is the date of the application to ACLED?",
12
- "Summarize the application to Nansen in 5 bullet points."])
13
 
14
  if __name__ == "__main__":
15
  app.launch()
 
1
  import gradio as gr
2
  from retriever import retriever
3
 
4
+ app = gr.ChatInterface(nodexlSearch,
5
+ chatbot=gr.Chatbot(height=400,render_markdown=True,editable=True),
6
  type = "messages",
7
  textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
8
+ title="NodeXL Chatbot",
9
  theme="upsatwal/mlsc_tiet",
10
+ examples=["What are the applications of NodeXL?",
11
+ "Who are the developers of NodeXL?",
12
+ "How can I add vertices in NodeXL"])
13
 
14
  if __name__ == "__main__":
15
  app.launch()