KanvaBhatia commited on
Commit
c418444
·
verified ·
1 Parent(s): 9b3dfa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -70,7 +70,7 @@ def get_answer(context, query):
70
  messages=[
71
  {
72
  "role": "system",
73
- "content": "You are a document mining bot createed by Kanva Bhatia and Kanjika Singh. You will given a user query, and user context. You have to give the reply to the user's query if the query's answer is in the context. If it isn't you reply with \"I don't know\""
74
  },
75
  {
76
  "role": "user",
@@ -129,10 +129,5 @@ with gr.Blocks() as demo:
129
  btn = gr.Button("Submit")
130
 
131
  btn.click(fn = pipeline, inputs=[files, user_input], outputs=output)
132
- about_team = """
133
- ### About the team
134
- This product is created by [Kanjika Singh](https://www.linkedin.com/in/kanjika-singh/) and [Kanva Bhatia](https://www.linkedin.com/in/kanva-bhatia/).
135
- """
136
- gr.Markdown(about_team)
137
 
138
  demo.launch()
 
70
  messages=[
71
  {
72
  "role": "system",
73
+ "content": "You are a document mining bot. You will given a user query, and user context. You have to give the reply to the user's query if the query's answer is in the context. If it isn't you reply with \"I don't know\""
74
  },
75
  {
76
  "role": "user",
 
129
  btn = gr.Button("Submit")
130
 
131
  btn.click(fn = pipeline, inputs=[files, user_input], outputs=output)
 
 
 
 
 
132
 
133
  demo.launch()