Update main.py
Browse files
main.py
CHANGED
@@ -72,7 +72,7 @@ def gradinterface(query,history):
|
|
72 |
chain_type_kwargs={"prompt": QA_CHAIN_PROMPT},
|
73 |
)
|
74 |
result = qa_chain({"query": query})
|
75 |
-
return result['result']
|
76 |
|
77 |
|
78 |
demo = gr.ChatInterface(fn=gradinterface, title='OUR_OWN_BOT')
|
|
|
72 |
chain_type_kwargs={"prompt": QA_CHAIN_PROMPT},
|
73 |
)
|
74 |
result = qa_chain({"query": query})
|
75 |
+
return result['result']
|
76 |
|
77 |
|
78 |
demo = gr.ChatInterface(fn=gradinterface, title='OUR_OWN_BOT')
|