Sandra-Cai commited on
Commit
179ea90
·
unverified ·
1 Parent(s): 56bebf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ def pdf_changes(pdf_doc):
37
 
38
  {context}
39
 
40
- Question: {question}
41
  Answer:"""
42
  PROMPT = PromptTemplate(
43
  template=prompt_template, input_variables=["context", "question"]
@@ -101,4 +101,4 @@ with gr.Blocks(css=css) as demo:
101
  bot, chatbot, chatbot
102
  )
103
 
104
- demo.launch()
 
37
 
38
  {context}
39
 
40
+ Question: {sample.question}
41
  Answer:"""
42
  PROMPT = PromptTemplate(
43
  template=prompt_template, input_variables=["context", "question"]
 
101
  bot, chatbot, chatbot
102
  )
103
 
104
+ demo.launch()