not-lain commited on
Commit
be3750d
1 Parent(s): a891860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,5 +18,5 @@ def chat(question,history):
18
  """chat with the QA pipeline"""
19
  return qa_model(question = question, context = context)["answer"].strip()
20
 
21
- demo = gr.ChatInterface(fn=chat, examples=examples, title="Resume QA",description=description)
22
  demo.launch()
 
18
  """chat with the QA pipeline"""
19
  return qa_model(question = question, context = context)["answer"].strip()
20
 
21
+ demo = gr.ChatInterface(fn=chat, examples=examples, title="Resume QA",description=description,autofocus=False)
22
  demo.launch()