srikol commited on
Commit
f29d72e
·
verified ·
1 Parent(s): a116eaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,7 +36,7 @@ ARCH_NOTE = (
36
  "ARCHITECTURE NOTE – The bot follows a Retrieval-Augmented Generation "
37
  "(RAG) design: PDF → 180-token chunks → MiniLM-L6 embeddings → FAISS "
38
  "similarity search → GPT-3.5-turbo answer constrained to context."
39
- )"
40
 
41
  # make them retrievable by the RAG index (even though we’ll short-circuit)
42
  text += f" LinkedIn: {LINK_MD} Blog: {BLOG_MD} {ARCH_MD}"
@@ -134,8 +134,8 @@ with gr.Blocks(theme="soft") as demo:
134
  btns = [gr.Button(q) for q in quick]
135
 
136
  with gr.Column(scale=4):
137
- chat = gr.Chatbot(type="messages", label="Résumé Bot", height=520)
138
- inp = gr.Textbox(placeholder="Ask about my résumé…", show_label=False)
139
  state = gr.State([])
140
 
141
  # ENTER
 
36
  "ARCHITECTURE NOTE – The bot follows a Retrieval-Augmented Generation "
37
  "(RAG) design: PDF → 180-token chunks → MiniLM-L6 embeddings → FAISS "
38
  "similarity search → GPT-3.5-turbo answer constrained to context."
39
+ )
40
 
41
  # make them retrievable by the RAG index (even though we’ll short-circuit)
42
  text += f" LinkedIn: {LINK_MD} Blog: {BLOG_MD} {ARCH_MD}"
 
134
  btns = [gr.Button(q) for q in quick]
135
 
136
  with gr.Column(scale=4):
137
+ chat = gr.Chatbot(type="messages", label="SriGPT - Ask about my resume ", height=520)
138
+ inp = gr.Textbox(placeholder="RAG based LM", show_label=False)
139
  state = gr.State([])
140
 
141
  # ENTER