Update app.py
Browse files
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()
|